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:
Sunil Mohan Adapa committed 2019-01-28 10:54:53 -08:00
1 parent 1c8c9d067a
commit 22dd2d26f3
2 files changed
+18 -15

No files matched your search

+10 -10
View File
@@ -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