Skip to content

Commit 2b8f56a

Browse files
author
richard
committed
removed pre test func
1 parent fe7a515 commit 2b8f56a

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

tests/unit-tests.py

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,6 @@
2424
TEST_FOLDER = 'mega.py_testfolder_{0}'.format(random.random())
2525

2626

27-
def pre_test():
28-
global FIND_RESP
29-
try:
30-
m.upload(TEST_FILE)
31-
return True
32-
except:
33-
raise ValueError('Pre-test functions failed!')
34-
35-
3627
class TestMega(unittest.TestCase):
3728

3829
def test_mega(self):
@@ -112,5 +103,4 @@ def test_remove_contact(self):
112103

113104

114105
if __name__ == '__main__':
115-
if pre_test():
116-
unittest.main()
106+
unittest.main()

0 commit comments

Comments
 (0)