mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-08 09:25:17 -04:00
Added test_upload
This commit is contained in:
parent
329339dab8
commit
4dde85e4f6
2 changed files with 20 additions and 3 deletions
|
@ -50,6 +50,11 @@ class GuiBaseTest(unittest.TestCase):
|
|||
with open(cls.tmpfile_test, "w") as file:
|
||||
file.write("onionshare")
|
||||
|
||||
# A file called "test2.txt"
|
||||
cls.tmpfile_test2 = os.path.join(cls.tmpdir.name, "test2.txt")
|
||||
with open(cls.tmpfile_test2, "w") as file:
|
||||
file.write("onionshare2")
|
||||
|
||||
# A large file
|
||||
size = 1024 * 1024 * 155
|
||||
cls.tmpfile_large = os.path.join(cls.tmpdir.name, "large_file")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue