mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
mldonkey: Add functional test for uploading
- Run yapf for automatic formatting. - Move disable test to the end so that after all test are run, app is usually disabled. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
2 files changed
+18
-15
No files matched your search
@@ -29,18 +29,12 @@ Scenario: Enable mldonkey application
|
||||
Then the mldonkey service should be running
|
||||
Then the mldonkey site should be available
|
||||
|
||||
Scenario: Disable mldonkey application
|
||||
Scenario: Upload an ed2k file to mldonkey
|
||||
Given the mldonkey application is enabled
|
||||
When I disable the mldonkey application
|
||||
Then the mldonkey service should not be running
|
||||
Then the mldonkey site should not be available
|
||||
When all ed2k files are removed from mldonkey
|
||||
And I upload a sample ed2k file to mldonkey
|
||||
Then there should be 1 ed2k files listed in mldonkey
|
||||
|
||||
# Scenario: Upload an ed2k file to mldonkey
|
||||
# Given the mldonkey application is enabled
|
||||
# When all ed2k files are removed from mldonkey
|
||||
# And I upload a sample ed2k file to mldonkey
|
||||
# Then there should be 1 ed2k file listed in mldonkey
|
||||
#
|
||||
Scenario: Backup and restore mldonkey
|
||||
Given the mldonkey application is enabled
|
||||
When all ed2k files are removed from mldonkey
|
||||
@@ -50,3 +44,9 @@ Scenario: Backup and restore mldonkey
|
||||
And I restore the mldonkey app data backup
|
||||
Then the mldonkey service should be running
|
||||
And there should be 1 ed2k files listed in mldonkey
|
||||
|
||||
Scenario: Disable mldonkey application
|
||||
Given the mldonkey application is enabled
|
||||
When I disable the mldonkey application
|
||||
Then the mldonkey service should not be running
|
||||
Then the mldonkey site should not be available
|
||||
Reference in new issue
Block a user