From acaea8782c4517a1840375db76602d50c4405cea Mon Sep 17 00:00:00 2001 From: Francisco de la Vega Date: Wed, 27 Dec 2017 13:42:23 +0100 Subject: [PATCH] Update selenium tests, users are not logged out in new version --- ckanext/privatedatasets/tests/test_selenium.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/ckanext/privatedatasets/tests/test_selenium.py b/ckanext/privatedatasets/tests/test_selenium.py index d1494db..8bcc0ee 100644 --- a/ckanext/privatedatasets/tests/test_selenium.py +++ b/ckanext/privatedatasets/tests/test_selenium.py @@ -310,11 +310,6 @@ class TestSelenium(unittest.TestCase): acquired = user in allowed_users self.check_user_access(pkg_name, url, False, acquired, False, private, searchable, acquire_url) - # The user is logged out when they try to access a private dataset and they are not included - # in the list of allowed users. - if not acquired and private: - self.login(user, user) - self.check_acquired(pkg_name, url, acquired, private) @parameterized.expand([