Skip to content

Commit

Permalink
Temporarily disable Owncloud tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jh27539 committed Oct 13, 2023
1 parent ee4c0aa commit b1db67b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 17 deletions.
1 change: 0 additions & 1 deletion settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@
'gitlab',
'googledrive',
'osfstorage',
'owncloud',
'onedrive',
's3',
],
Expand Down
24 changes: 8 additions & 16 deletions tests/test_project_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,7 @@ class TestFilesPage:
node_id from each test.
"""

@pytest.mark.parametrize(
'provider', ['box', 'dropbox', 'osfstorage', 'owncloud', 's3']
)
@pytest.mark.parametrize('provider', ['box', 'dropbox', 'osfstorage', 's3'])
def test_rename_file(self, driver, default_project, session, provider):
"""Test that renames a single file from one of the storage providers on the
Project Files List page.
Expand Down Expand Up @@ -186,9 +184,7 @@ def test_rename_file(self, driver, default_project, session, provider):
finally:
osf_api.delete_addon_files(session, provider, current_browser, guid=node_id)

@pytest.mark.parametrize(
'provider', ['box', 'dropbox', 'osfstorage', 'owncloud', 's3']
)
@pytest.mark.parametrize('provider', ['box', 'dropbox', 'osfstorage', 's3'])
def test_delete_single_file(self, driver, default_project, session, provider):
"""Test that deletes a single file from one of the storage providers on the
Project Files List page.
Expand Down Expand Up @@ -242,9 +238,7 @@ def test_delete_single_file(self, driver, default_project, session, provider):
finally:
osf_api.delete_addon_files(session, provider, current_browser, guid=node_id)

@pytest.mark.parametrize(
'provider', ['box', 'dropbox', 'osfstorage', 'owncloud', 's3']
)
@pytest.mark.parametrize('provider', ['box', 'dropbox', 'osfstorage', 's3'])
def test_delete_multiple_files(self, driver, default_project, session, provider):
"""Test that deletes multiple files (2) from one of the storage providers on the
Project Files List page.
Expand Down Expand Up @@ -307,7 +301,7 @@ def test_delete_multiple_files(self, driver, default_project, session, provider)
finally:
osf_api.delete_addon_files(session, provider, current_browser, guid=node_id)

@pytest.mark.parametrize('provider', ['box', 'dropbox', 'owncloud', 's3'])
@pytest.mark.parametrize('provider', ['box', 'dropbox', 's3'])
def test_move_single_file(self, driver, default_project, session, provider):
"""Test that moves a single file from one of the storage providers on the
Project Files List page to OSF Storage.
Expand Down Expand Up @@ -379,7 +373,7 @@ def test_move_single_file(self, driver, default_project, session, provider):
finally:
osf_api.delete_addon_files(session, provider, current_browser, guid=node_id)

@pytest.mark.parametrize('provider', ['box', 'dropbox', 'owncloud', 's3'])
@pytest.mark.parametrize('provider', ['box', 'dropbox', 's3'])
def test_move_multiple_files(self, driver, default_project, session, provider):
"""Test that moves multiple files from one of the storage providers on the
Project Files List page to OSF Storage.
Expand Down Expand Up @@ -450,7 +444,7 @@ def test_move_multiple_files(self, driver, default_project, session, provider):
finally:
osf_api.delete_addon_files(session, provider, current_browser, guid=node_id)

@pytest.mark.parametrize('provider', ['box', 'dropbox', 'owncloud', 's3'])
@pytest.mark.parametrize('provider', ['box', 'dropbox', 's3'])
def test_copy_single_file(self, driver, default_project, session, provider):
"""Test that copies a single file from one of the storage providers on the
Project Files List page to OSF Storage.
Expand Down Expand Up @@ -522,7 +516,7 @@ def test_copy_single_file(self, driver, default_project, session, provider):
finally:
osf_api.delete_addon_files(session, provider, current_browser, guid=node_id)

@pytest.mark.parametrize('provider', ['box', 'dropbox', 'owncloud', 's3'])
@pytest.mark.parametrize('provider', ['box', 'dropbox', 's3'])
def test_copy_multiple_files(self, driver, default_project, session, provider):
"""Test that copies multiple files from one of the storage providers on the
Project Files List page to OSF Storage.
Expand Down Expand Up @@ -593,9 +587,7 @@ def test_copy_multiple_files(self, driver, default_project, session, provider):
finally:
osf_api.delete_addon_files(session, provider, current_browser, guid=node_id)

@pytest.mark.parametrize(
'provider', ['box', 'dropbox', 'osfstorage', 'owncloud', 's3']
)
@pytest.mark.parametrize('provider', ['box', 'dropbox', 'osfstorage', 's3'])
def test_download_file(self, driver, default_project, session, provider):
"""Test that downloads a single file from one of the storage providers on the
Project Files List page.
Expand Down

0 comments on commit b1db67b

Please sign in to comment.