mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-10-29 17:42:12 +08:00
Remove use_legacy_history helper from sharing tests, thx @jmchilton
This commit is contained in:
@@ -10,7 +10,6 @@ VALID_LOGIN_RETRIES = 3
|
||||
class HistorySharingTestCase(SeleniumTestCase):
|
||||
@selenium_test
|
||||
def test_sharing_valid(self):
|
||||
self.use_legacy_history()
|
||||
user1_email, user2_email, history_id = self.setup_two_users_with_one_shared_history()
|
||||
self.submit_login(user2_email, retries=VALID_LOGIN_RETRIES)
|
||||
response = self.api_get(f"histories/{history_id}", raw=True)
|
||||
@@ -18,7 +17,6 @@ class HistorySharingTestCase(SeleniumTestCase):
|
||||
|
||||
@selenium_test
|
||||
def test_sharing_valid_by_id(self):
|
||||
self.use_legacy_history()
|
||||
user1_email, user2_email, history_id = self.setup_two_users_with_one_shared_history(share_by_id=True)
|
||||
self.submit_login(user2_email, retries=VALID_LOGIN_RETRIES)
|
||||
response = self.api_get(f"histories/{history_id}", raw=True)
|
||||
@@ -26,7 +24,6 @@ class HistorySharingTestCase(SeleniumTestCase):
|
||||
|
||||
@selenium_test
|
||||
def test_unsharing(self):
|
||||
self.use_legacy_history()
|
||||
user1_email, user2_email, history_id = self.setup_two_users_with_one_shared_history()
|
||||
self.submit_login(user1_email, retries=VALID_LOGIN_RETRIES)
|
||||
self.home()
|
||||
@@ -62,7 +59,6 @@ class HistorySharingTestCase(SeleniumTestCase):
|
||||
|
||||
@selenium_test
|
||||
def test_sharing_with_invalid_user(self):
|
||||
self.use_legacy_history()
|
||||
user1_email = self._get_random_email()
|
||||
self.register(user1_email)
|
||||
self.share_history_with_user(user_email="invalid_user@test.com")
|
||||
@@ -70,7 +66,6 @@ class HistorySharingTestCase(SeleniumTestCase):
|
||||
|
||||
@selenium_test
|
||||
def test_sharing_with_self(self):
|
||||
self.use_legacy_history()
|
||||
user1_email = self._get_random_email()
|
||||
self.register(user1_email)
|
||||
self.share_history_with_user(user_email=user1_email)
|
||||
|
||||
Reference in New Issue
Block a user