Skip to content

Commit 65f351f

Browse files
committed
Remove unused __main__ test code.
1 parent b661d7e commit 65f351f

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

test/functional/test_file_upload_update_download.py

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -45,16 +45,3 @@ def test_upload_then_download(box_client, test_file_path, test_file_content, fil
4545
expected_file_content = test_file_content.encode('utf-8') if isinstance(test_file_content, six.text_type)\
4646
else test_file_content
4747
assert writeable_stream.getvalue() == expected_file_content
48-
49-
50-
if __name__ == '__main__':
51-
from test.functional.conftest import box_client, box_oauth, mock_box, Box
52-
53-
class MonkeyPatch:
54-
def setattr(self, target, attr, value):
55-
setattr(target, attr, value)
56-
57-
client_id, client_secret, login = 'client_id', 'client_secret', 'login'
58-
box = mock_box(Box(), MonkeyPatch(), client_id, client_secret, 'user', login)
59-
client = box_client(box_oauth(client_id, client_secret, login))
60-
test_upload_then_update(client, '/path/to/file', 'Hello', 'Goodbye', 'foo.txt')

0 commit comments

Comments
 (0)