mirror of
https://gitlab.com/timvisee/send.git
synced 2024-11-14 15:12:48 +01:00
54e78b6274
test_upload: This will create a file and make sure it uploads by verifying a file uploads and is assigned a URL. test_download: This will create a file, upload it and then download it making sure it is the same filename that was uploaded. We can expand this later to maybe check the sizes and such. test_progress: This will create a file and make sure the progress bar shows up after it begins uploading. These are python tests and use Pipenv to manage dependencies as well as tox as the virtualenv manager, and finally pytest as the test runner.
7 lines
163 B
Python
7 lines
163 B
Python
"""Test files regarding the upload progress pages."""
|
|
|
|
|
|
def test_progress(upload_file):
|
|
"""Test progress icon shows while uploading."""
|
|
assert upload_file
|