tests/e2e: don't load core migration
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
		| @ -25,7 +25,6 @@ class TestFlowsAuthenticator(SeleniumTestCase): | |||||||
|     """test flow with otp stages""" |     """test flow with otp stages""" | ||||||
|  |  | ||||||
|     @retry() |     @retry() | ||||||
|     @apply_migration("authentik_core", "0002_auto_20200523_1133_squashed_0011_provider_name_temp") |  | ||||||
|     @apply_migration("authentik_flows", "0008_default_flows") |     @apply_migration("authentik_flows", "0008_default_flows") | ||||||
|     @apply_migration("authentik_flows", "0011_flow_title") |     @apply_migration("authentik_flows", "0011_flow_title") | ||||||
|     def test_totp_validate(self): |     def test_totp_validate(self): | ||||||
| @ -55,7 +54,6 @@ class TestFlowsAuthenticator(SeleniumTestCase): | |||||||
|         self.assert_user(self.user) |         self.assert_user(self.user) | ||||||
|  |  | ||||||
|     @retry() |     @retry() | ||||||
|     @apply_migration("authentik_core", "0002_auto_20200523_1133_squashed_0011_provider_name_temp") |  | ||||||
|     @apply_migration("authentik_flows", "0008_default_flows") |     @apply_migration("authentik_flows", "0008_default_flows") | ||||||
|     @apply_migration("authentik_flows", "0011_flow_title") |     @apply_migration("authentik_flows", "0011_flow_title") | ||||||
|     @apply_migration("authentik_stages_authenticator_totp", "0006_default_setup_flow") |     @apply_migration("authentik_stages_authenticator_totp", "0006_default_setup_flow") | ||||||
| @ -100,7 +98,6 @@ class TestFlowsAuthenticator(SeleniumTestCase): | |||||||
|         self.assertTrue(TOTPDevice.objects.filter(user=self.user, confirmed=True).exists()) |         self.assertTrue(TOTPDevice.objects.filter(user=self.user, confirmed=True).exists()) | ||||||
|  |  | ||||||
|     @retry() |     @retry() | ||||||
|     @apply_migration("authentik_core", "0002_auto_20200523_1133_squashed_0011_provider_name_temp") |  | ||||||
|     @apply_migration("authentik_flows", "0008_default_flows") |     @apply_migration("authentik_flows", "0008_default_flows") | ||||||
|     @apply_migration("authentik_flows", "0011_flow_title") |     @apply_migration("authentik_flows", "0011_flow_title") | ||||||
|     @apply_migration("authentik_stages_authenticator_static", "0005_default_setup_flow") |     @apply_migration("authentik_stages_authenticator_static", "0005_default_setup_flow") | ||||||
|  | |||||||
| @ -37,7 +37,6 @@ class TestFlowsEnroll(SeleniumTestCase): | |||||||
|         } |         } | ||||||
|  |  | ||||||
|     @retry() |     @retry() | ||||||
|     @apply_migration("authentik_core", "0002_auto_20200523_1133_squashed_0011_provider_name_temp") |  | ||||||
|     @apply_migration("authentik_flows", "0008_default_flows") |     @apply_migration("authentik_flows", "0008_default_flows") | ||||||
|     @apply_migration("authentik_flows", "0011_flow_title") |     @apply_migration("authentik_flows", "0011_flow_title") | ||||||
|     def test_enroll_2_step(self): |     def test_enroll_2_step(self): | ||||||
| @ -107,7 +106,6 @@ class TestFlowsEnroll(SeleniumTestCase): | |||||||
|         self.assertEqual(user.email, "foo@bar.baz") |         self.assertEqual(user.email, "foo@bar.baz") | ||||||
|  |  | ||||||
|     @retry() |     @retry() | ||||||
|     @apply_migration("authentik_core", "0002_auto_20200523_1133_squashed_0011_provider_name_temp") |  | ||||||
|     @apply_migration("authentik_flows", "0008_default_flows") |     @apply_migration("authentik_flows", "0008_default_flows") | ||||||
|     @apply_migration("authentik_flows", "0011_flow_title") |     @apply_migration("authentik_flows", "0011_flow_title") | ||||||
|     def test_enroll_email(self): |     def test_enroll_email(self): | ||||||
|  | |||||||
| @ -10,7 +10,6 @@ class TestFlowsLogin(SeleniumTestCase): | |||||||
|     """test default login flow""" |     """test default login flow""" | ||||||
|  |  | ||||||
|     @retry() |     @retry() | ||||||
|     @apply_migration("authentik_core", "0002_auto_20200523_1133_squashed_0011_provider_name_temp") |  | ||||||
|     @apply_migration("authentik_flows", "0008_default_flows") |     @apply_migration("authentik_flows", "0008_default_flows") | ||||||
|     @apply_migration("authentik_flows", "0011_flow_title") |     @apply_migration("authentik_flows", "0011_flow_title") | ||||||
|     def test_login(self): |     def test_login(self): | ||||||
|  | |||||||
| @ -17,7 +17,6 @@ class TestFlowsStageSetup(SeleniumTestCase): | |||||||
|     """test stage setup flows""" |     """test stage setup flows""" | ||||||
|  |  | ||||||
|     @retry() |     @retry() | ||||||
|     @apply_migration("authentik_core", "0002_auto_20200523_1133_squashed_0011_provider_name_temp") |  | ||||||
|     @apply_migration("authentik_flows", "0008_default_flows") |     @apply_migration("authentik_flows", "0008_default_flows") | ||||||
|     @apply_migration("authentik_flows", "0011_flow_title") |     @apply_migration("authentik_flows", "0011_flow_title") | ||||||
|     @apply_migration("authentik_stages_password", "0002_passwordstage_change_flow") |     @apply_migration("authentik_stages_password", "0002_passwordstage_change_flow") | ||||||
|  | |||||||
| @ -81,7 +81,6 @@ class TestProviderLDAP(SeleniumTestCase): | |||||||
|         return outpost |         return outpost | ||||||
|  |  | ||||||
|     @retry() |     @retry() | ||||||
|     @apply_migration("authentik_core", "0002_auto_20200523_1133_squashed_0011_provider_name_temp") |  | ||||||
|     @apply_migration("authentik_flows", "0008_default_flows") |     @apply_migration("authentik_flows", "0008_default_flows") | ||||||
|     @object_manager |     @object_manager | ||||||
|     def test_ldap_bind_success(self): |     def test_ldap_bind_success(self): | ||||||
| @ -107,7 +106,6 @@ class TestProviderLDAP(SeleniumTestCase): | |||||||
|         ) |         ) | ||||||
|  |  | ||||||
|     @retry() |     @retry() | ||||||
|     @apply_migration("authentik_core", "0002_auto_20200523_1133_squashed_0011_provider_name_temp") |  | ||||||
|     @apply_migration("authentik_flows", "0008_default_flows") |     @apply_migration("authentik_flows", "0008_default_flows") | ||||||
|     @object_manager |     @object_manager | ||||||
|     def test_ldap_bind_success_ssl(self): |     def test_ldap_bind_success_ssl(self): | ||||||
| @ -133,7 +131,6 @@ class TestProviderLDAP(SeleniumTestCase): | |||||||
|         ) |         ) | ||||||
|  |  | ||||||
|     @retry() |     @retry() | ||||||
|     @apply_migration("authentik_core", "0002_auto_20200523_1133_squashed_0011_provider_name_temp") |  | ||||||
|     @apply_migration("authentik_flows", "0008_default_flows") |     @apply_migration("authentik_flows", "0008_default_flows") | ||||||
|     @object_manager |     @object_manager | ||||||
|     def test_ldap_bind_fail(self): |     def test_ldap_bind_fail(self): | ||||||
| @ -157,7 +154,6 @@ class TestProviderLDAP(SeleniumTestCase): | |||||||
|         ) |         ) | ||||||
|  |  | ||||||
|     @retry() |     @retry() | ||||||
|     @apply_migration("authentik_core", "0002_auto_20200523_1133_squashed_0011_provider_name_temp") |  | ||||||
|     @apply_migration("authentik_flows", "0008_default_flows") |     @apply_migration("authentik_flows", "0008_default_flows") | ||||||
|     @object_manager |     @object_manager | ||||||
|     def test_ldap_bind_search(self): |     def test_ldap_bind_search(self): | ||||||
|  | |||||||
| @ -56,7 +56,6 @@ class TestProviderOAuth2Github(SeleniumTestCase): | |||||||
|         } |         } | ||||||
|  |  | ||||||
|     @retry() |     @retry() | ||||||
|     @apply_migration("authentik_core", "0002_auto_20200523_1133_squashed_0011_provider_name_temp") |  | ||||||
|     @apply_migration("authentik_flows", "0008_default_flows") |     @apply_migration("authentik_flows", "0008_default_flows") | ||||||
|     @apply_migration("authentik_flows", "0011_flow_title") |     @apply_migration("authentik_flows", "0011_flow_title") | ||||||
|     @apply_migration("authentik_flows", "0010_provider_flows") |     @apply_migration("authentik_flows", "0010_provider_flows") | ||||||
| @ -105,7 +104,6 @@ class TestProviderOAuth2Github(SeleniumTestCase): | |||||||
|         ) |         ) | ||||||
|  |  | ||||||
|     @retry() |     @retry() | ||||||
|     @apply_migration("authentik_core", "0002_auto_20200523_1133_squashed_0011_provider_name_temp") |  | ||||||
|     @apply_migration("authentik_flows", "0008_default_flows") |     @apply_migration("authentik_flows", "0008_default_flows") | ||||||
|     @apply_migration("authentik_flows", "0011_flow_title") |     @apply_migration("authentik_flows", "0011_flow_title") | ||||||
|     @apply_migration("authentik_flows", "0010_provider_flows") |     @apply_migration("authentik_flows", "0010_provider_flows") | ||||||
| @ -173,7 +171,6 @@ class TestProviderOAuth2Github(SeleniumTestCase): | |||||||
|         ) |         ) | ||||||
|  |  | ||||||
|     @retry() |     @retry() | ||||||
|     @apply_migration("authentik_core", "0002_auto_20200523_1133_squashed_0011_provider_name_temp") |  | ||||||
|     @apply_migration("authentik_flows", "0008_default_flows") |     @apply_migration("authentik_flows", "0008_default_flows") | ||||||
|     @apply_migration("authentik_flows", "0011_flow_title") |     @apply_migration("authentik_flows", "0011_flow_title") | ||||||
|     @apply_migration("authentik_flows", "0010_provider_flows") |     @apply_migration("authentik_flows", "0010_provider_flows") | ||||||
|  | |||||||
| @ -65,7 +65,6 @@ class TestProviderOAuth2OAuth(SeleniumTestCase): | |||||||
|         } |         } | ||||||
|  |  | ||||||
|     @retry() |     @retry() | ||||||
|     @apply_migration("authentik_core", "0002_auto_20200523_1133_squashed_0011_provider_name_temp") |  | ||||||
|     @apply_migration("authentik_flows", "0008_default_flows") |     @apply_migration("authentik_flows", "0008_default_flows") | ||||||
|     @apply_migration("authentik_flows", "0011_flow_title") |     @apply_migration("authentik_flows", "0011_flow_title") | ||||||
|     @apply_migration("authentik_flows", "0010_provider_flows") |     @apply_migration("authentik_flows", "0010_provider_flows") | ||||||
| @ -107,7 +106,6 @@ class TestProviderOAuth2OAuth(SeleniumTestCase): | |||||||
|         ) |         ) | ||||||
|  |  | ||||||
|     @retry() |     @retry() | ||||||
|     @apply_migration("authentik_core", "0002_auto_20200523_1133_squashed_0011_provider_name_temp") |  | ||||||
|     @apply_migration("authentik_flows", "0008_default_flows") |     @apply_migration("authentik_flows", "0008_default_flows") | ||||||
|     @apply_migration("authentik_flows", "0011_flow_title") |     @apply_migration("authentik_flows", "0011_flow_title") | ||||||
|     @apply_migration("authentik_flows", "0010_provider_flows") |     @apply_migration("authentik_flows", "0010_provider_flows") | ||||||
| @ -163,7 +161,6 @@ class TestProviderOAuth2OAuth(SeleniumTestCase): | |||||||
|         ) |         ) | ||||||
|  |  | ||||||
|     @retry() |     @retry() | ||||||
|     @apply_migration("authentik_core", "0002_auto_20200523_1133_squashed_0011_provider_name_temp") |  | ||||||
|     @apply_migration("authentik_flows", "0008_default_flows") |     @apply_migration("authentik_flows", "0008_default_flows") | ||||||
|     @apply_migration("authentik_flows", "0011_flow_title") |     @apply_migration("authentik_flows", "0011_flow_title") | ||||||
|     @apply_migration("authentik_flows", "0010_provider_flows") |     @apply_migration("authentik_flows", "0010_provider_flows") | ||||||
| @ -228,7 +225,6 @@ class TestProviderOAuth2OAuth(SeleniumTestCase): | |||||||
|         self.driver.find_element(By.ID, "logout").click() |         self.driver.find_element(By.ID, "logout").click() | ||||||
|  |  | ||||||
|     @retry() |     @retry() | ||||||
|     @apply_migration("authentik_core", "0002_auto_20200523_1133_squashed_0011_provider_name_temp") |  | ||||||
|     @apply_migration("authentik_flows", "0008_default_flows") |     @apply_migration("authentik_flows", "0008_default_flows") | ||||||
|     @apply_migration("authentik_flows", "0011_flow_title") |     @apply_migration("authentik_flows", "0011_flow_title") | ||||||
|     @apply_migration("authentik_flows", "0010_provider_flows") |     @apply_migration("authentik_flows", "0010_provider_flows") | ||||||
| @ -302,7 +298,6 @@ class TestProviderOAuth2OAuth(SeleniumTestCase): | |||||||
|         ) |         ) | ||||||
|  |  | ||||||
|     @retry() |     @retry() | ||||||
|     @apply_migration("authentik_core", "0002_auto_20200523_1133_squashed_0011_provider_name_temp") |  | ||||||
|     @apply_migration("authentik_flows", "0008_default_flows") |     @apply_migration("authentik_flows", "0008_default_flows") | ||||||
|     @apply_migration("authentik_flows", "0011_flow_title") |     @apply_migration("authentik_flows", "0011_flow_title") | ||||||
|     @apply_migration("authentik_flows", "0010_provider_flows") |     @apply_migration("authentik_flows", "0010_provider_flows") | ||||||
|  | |||||||
| @ -64,7 +64,6 @@ class TestProviderOAuth2OIDC(SeleniumTestCase): | |||||||
|             sleep(1) |             sleep(1) | ||||||
|  |  | ||||||
|     @retry() |     @retry() | ||||||
|     @apply_migration("authentik_core", "0002_auto_20200523_1133_squashed_0011_provider_name_temp") |  | ||||||
|     @apply_migration("authentik_flows", "0008_default_flows") |     @apply_migration("authentik_flows", "0008_default_flows") | ||||||
|     @apply_migration("authentik_flows", "0011_flow_title") |     @apply_migration("authentik_flows", "0011_flow_title") | ||||||
|     @apply_migration("authentik_flows", "0010_provider_flows") |     @apply_migration("authentik_flows", "0010_provider_flows") | ||||||
| @ -106,7 +105,6 @@ class TestProviderOAuth2OIDC(SeleniumTestCase): | |||||||
|         ) |         ) | ||||||
|  |  | ||||||
|     @retry() |     @retry() | ||||||
|     @apply_migration("authentik_core", "0002_auto_20200523_1133_squashed_0011_provider_name_temp") |  | ||||||
|     @apply_migration("authentik_flows", "0008_default_flows") |     @apply_migration("authentik_flows", "0008_default_flows") | ||||||
|     @apply_migration("authentik_flows", "0011_flow_title") |     @apply_migration("authentik_flows", "0011_flow_title") | ||||||
|     @apply_migration("authentik_flows", "0010_provider_flows") |     @apply_migration("authentik_flows", "0010_provider_flows") | ||||||
| @ -156,7 +154,6 @@ class TestProviderOAuth2OIDC(SeleniumTestCase): | |||||||
|         self.assertEqual(body["UserInfo"]["email"], self.user.email) |         self.assertEqual(body["UserInfo"]["email"], self.user.email) | ||||||
|  |  | ||||||
|     @retry() |     @retry() | ||||||
|     @apply_migration("authentik_core", "0002_auto_20200523_1133_squashed_0011_provider_name_temp") |  | ||||||
|     @apply_migration("authentik_flows", "0008_default_flows") |     @apply_migration("authentik_flows", "0008_default_flows") | ||||||
|     @apply_migration("authentik_flows", "0011_flow_title") |     @apply_migration("authentik_flows", "0011_flow_title") | ||||||
|     @apply_migration("authentik_flows", "0010_provider_flows") |     @apply_migration("authentik_flows", "0010_provider_flows") | ||||||
| @ -221,7 +218,6 @@ class TestProviderOAuth2OIDC(SeleniumTestCase): | |||||||
|         self.assertEqual(body["UserInfo"]["email"], self.user.email) |         self.assertEqual(body["UserInfo"]["email"], self.user.email) | ||||||
|  |  | ||||||
|     @retry() |     @retry() | ||||||
|     @apply_migration("authentik_core", "0002_auto_20200523_1133_squashed_0011_provider_name_temp") |  | ||||||
|     @apply_migration("authentik_flows", "0008_default_flows") |     @apply_migration("authentik_flows", "0008_default_flows") | ||||||
|     @apply_migration("authentik_flows", "0011_flow_title") |     @apply_migration("authentik_flows", "0011_flow_title") | ||||||
|     @apply_migration("authentik_flows", "0010_provider_flows") |     @apply_migration("authentik_flows", "0010_provider_flows") | ||||||
|  | |||||||
| @ -64,7 +64,6 @@ class TestProviderOAuth2OIDCImplicit(SeleniumTestCase): | |||||||
|             sleep(1) |             sleep(1) | ||||||
|  |  | ||||||
|     @retry() |     @retry() | ||||||
|     @apply_migration("authentik_core", "0002_auto_20200523_1133_squashed_0011_provider_name_temp") |  | ||||||
|     @apply_migration("authentik_flows", "0008_default_flows") |     @apply_migration("authentik_flows", "0008_default_flows") | ||||||
|     @apply_migration("authentik_flows", "0011_flow_title") |     @apply_migration("authentik_flows", "0011_flow_title") | ||||||
|     @apply_migration("authentik_flows", "0010_provider_flows") |     @apply_migration("authentik_flows", "0010_provider_flows") | ||||||
| @ -106,7 +105,6 @@ class TestProviderOAuth2OIDCImplicit(SeleniumTestCase): | |||||||
|         ) |         ) | ||||||
|  |  | ||||||
|     @retry() |     @retry() | ||||||
|     @apply_migration("authentik_core", "0002_auto_20200523_1133_squashed_0011_provider_name_temp") |  | ||||||
|     @apply_migration("authentik_flows", "0008_default_flows") |     @apply_migration("authentik_flows", "0008_default_flows") | ||||||
|     @apply_migration("authentik_flows", "0011_flow_title") |     @apply_migration("authentik_flows", "0011_flow_title") | ||||||
|     @apply_migration("authentik_flows", "0010_provider_flows") |     @apply_migration("authentik_flows", "0010_provider_flows") | ||||||
| @ -153,7 +151,6 @@ class TestProviderOAuth2OIDCImplicit(SeleniumTestCase): | |||||||
|         self.assertEqual(body["profile"]["email"], self.user.email) |         self.assertEqual(body["profile"]["email"], self.user.email) | ||||||
|  |  | ||||||
|     @retry() |     @retry() | ||||||
|     @apply_migration("authentik_core", "0002_auto_20200523_1133_squashed_0011_provider_name_temp") |  | ||||||
|     @apply_migration("authentik_flows", "0008_default_flows") |     @apply_migration("authentik_flows", "0008_default_flows") | ||||||
|     @apply_migration("authentik_flows", "0011_flow_title") |     @apply_migration("authentik_flows", "0011_flow_title") | ||||||
|     @apply_migration("authentik_flows", "0010_provider_flows") |     @apply_migration("authentik_flows", "0010_provider_flows") | ||||||
| @ -215,7 +212,6 @@ class TestProviderOAuth2OIDCImplicit(SeleniumTestCase): | |||||||
|         self.assertEqual(body["profile"]["email"], self.user.email) |         self.assertEqual(body["profile"]["email"], self.user.email) | ||||||
|  |  | ||||||
|     @retry() |     @retry() | ||||||
|     @apply_migration("authentik_core", "0002_auto_20200523_1133_squashed_0011_provider_name_temp") |  | ||||||
|     @apply_migration("authentik_flows", "0008_default_flows") |     @apply_migration("authentik_flows", "0008_default_flows") | ||||||
|     @apply_migration("authentik_flows", "0011_flow_title") |     @apply_migration("authentik_flows", "0011_flow_title") | ||||||
|     @apply_migration("authentik_flows", "0010_provider_flows") |     @apply_migration("authentik_flows", "0010_provider_flows") | ||||||
|  | |||||||
| @ -53,7 +53,6 @@ class TestProviderProxy(SeleniumTestCase): | |||||||
|         return container |         return container | ||||||
|  |  | ||||||
|     @retry() |     @retry() | ||||||
|     @apply_migration("authentik_core", "0002_auto_20200523_1133_squashed_0011_provider_name_temp") |  | ||||||
|     @apply_migration("authentik_flows", "0008_default_flows") |     @apply_migration("authentik_flows", "0008_default_flows") | ||||||
|     @apply_migration("authentik_flows", "0011_flow_title") |     @apply_migration("authentik_flows", "0011_flow_title") | ||||||
|     @apply_migration("authentik_flows", "0010_provider_flows") |     @apply_migration("authentik_flows", "0010_provider_flows") | ||||||
| @ -117,7 +116,6 @@ class TestProviderProxyConnect(ChannelsLiveServerTestCase): | |||||||
|     """Test Proxy connectivity over websockets""" |     """Test Proxy connectivity over websockets""" | ||||||
|  |  | ||||||
|     @retry() |     @retry() | ||||||
|     @apply_migration("authentik_core", "0002_auto_20200523_1133_squashed_0011_provider_name_temp") |  | ||||||
|     @apply_migration("authentik_flows", "0008_default_flows") |     @apply_migration("authentik_flows", "0008_default_flows") | ||||||
|     @apply_migration("authentik_flows", "0011_flow_title") |     @apply_migration("authentik_flows", "0011_flow_title") | ||||||
|     @apply_migration("authentik_flows", "0010_provider_flows") |     @apply_migration("authentik_flows", "0010_provider_flows") | ||||||
|  | |||||||
| @ -59,7 +59,6 @@ class TestProviderSAML(SeleniumTestCase): | |||||||
|             sleep(1) |             sleep(1) | ||||||
|  |  | ||||||
|     @retry() |     @retry() | ||||||
|     @apply_migration("authentik_core", "0002_auto_20200523_1133_squashed_0011_provider_name_temp") |  | ||||||
|     @apply_migration("authentik_flows", "0008_default_flows") |     @apply_migration("authentik_flows", "0008_default_flows") | ||||||
|     @apply_migration("authentik_flows", "0011_flow_title") |     @apply_migration("authentik_flows", "0011_flow_title") | ||||||
|     @apply_migration("authentik_flows", "0010_provider_flows") |     @apply_migration("authentik_flows", "0010_provider_flows") | ||||||
| @ -122,7 +121,6 @@ class TestProviderSAML(SeleniumTestCase): | |||||||
|         ) |         ) | ||||||
|  |  | ||||||
|     @retry() |     @retry() | ||||||
|     @apply_migration("authentik_core", "0002_auto_20200523_1133_squashed_0011_provider_name_temp") |  | ||||||
|     @apply_migration("authentik_flows", "0008_default_flows") |     @apply_migration("authentik_flows", "0008_default_flows") | ||||||
|     @apply_migration("authentik_flows", "0011_flow_title") |     @apply_migration("authentik_flows", "0011_flow_title") | ||||||
|     @apply_migration("authentik_flows", "0010_provider_flows") |     @apply_migration("authentik_flows", "0010_provider_flows") | ||||||
| @ -200,7 +198,6 @@ class TestProviderSAML(SeleniumTestCase): | |||||||
|         ) |         ) | ||||||
|  |  | ||||||
|     @retry() |     @retry() | ||||||
|     @apply_migration("authentik_core", "0002_auto_20200523_1133_squashed_0011_provider_name_temp") |  | ||||||
|     @apply_migration("authentik_flows", "0008_default_flows") |     @apply_migration("authentik_flows", "0008_default_flows") | ||||||
|     @apply_migration("authentik_flows", "0011_flow_title") |     @apply_migration("authentik_flows", "0011_flow_title") | ||||||
|     @apply_migration("authentik_flows", "0010_provider_flows") |     @apply_migration("authentik_flows", "0010_provider_flows") | ||||||
| @ -269,7 +266,6 @@ class TestProviderSAML(SeleniumTestCase): | |||||||
|         ) |         ) | ||||||
|  |  | ||||||
|     @retry() |     @retry() | ||||||
|     @apply_migration("authentik_core", "0002_auto_20200523_1133_squashed_0011_provider_name_temp") |  | ||||||
|     @apply_migration("authentik_flows", "0008_default_flows") |     @apply_migration("authentik_flows", "0008_default_flows") | ||||||
|     @apply_migration("authentik_flows", "0011_flow_title") |     @apply_migration("authentik_flows", "0011_flow_title") | ||||||
|     @apply_migration("authentik_flows", "0010_provider_flows") |     @apply_migration("authentik_flows", "0010_provider_flows") | ||||||
|  | |||||||
| @ -127,7 +127,6 @@ class TestSourceOAuth2(SeleniumTestCase): | |||||||
|         ident_stage.save() |         ident_stage.save() | ||||||
|  |  | ||||||
|     @retry() |     @retry() | ||||||
|     @apply_migration("authentik_core", "0002_auto_20200523_1133_squashed_0011_provider_name_temp") |  | ||||||
|     @apply_migration("authentik_flows", "0008_default_flows") |     @apply_migration("authentik_flows", "0008_default_flows") | ||||||
|     @apply_migration("authentik_flows", "0011_flow_title") |     @apply_migration("authentik_flows", "0011_flow_title") | ||||||
|     @apply_migration("authentik_flows", "0009_source_flows") |     @apply_migration("authentik_flows", "0009_source_flows") | ||||||
| @ -177,7 +176,6 @@ class TestSourceOAuth2(SeleniumTestCase): | |||||||
|         self.assert_user(User(username="foo", name="admin", email="admin@example.com")) |         self.assert_user(User(username="foo", name="admin", email="admin@example.com")) | ||||||
|  |  | ||||||
|     @retry() |     @retry() | ||||||
|     @apply_migration("authentik_core", "0002_auto_20200523_1133_squashed_0011_provider_name_temp") |  | ||||||
|     @apply_migration("authentik_flows", "0008_default_flows") |     @apply_migration("authentik_flows", "0008_default_flows") | ||||||
|     @apply_migration("authentik_flows", "0011_flow_title") |     @apply_migration("authentik_flows", "0011_flow_title") | ||||||
|     @apply_migration("authentik_flows", "0009_source_flows") |     @apply_migration("authentik_flows", "0009_source_flows") | ||||||
| @ -267,7 +265,6 @@ class TestSourceOAuth1(SeleniumTestCase): | |||||||
|         ident_stage.save() |         ident_stage.save() | ||||||
|  |  | ||||||
|     @retry() |     @retry() | ||||||
|     @apply_migration("authentik_core", "0002_auto_20200523_1133_squashed_0011_provider_name_temp") |  | ||||||
|     @apply_migration("authentik_flows", "0008_default_flows") |     @apply_migration("authentik_flows", "0008_default_flows") | ||||||
|     @apply_migration("authentik_flows", "0011_flow_title") |     @apply_migration("authentik_flows", "0011_flow_title") | ||||||
|     @apply_migration("authentik_flows", "0009_source_flows") |     @apply_migration("authentik_flows", "0009_source_flows") | ||||||
|  | |||||||
| @ -94,7 +94,6 @@ class TestSourceSAML(SeleniumTestCase): | |||||||
|         } |         } | ||||||
|  |  | ||||||
|     @retry() |     @retry() | ||||||
|     @apply_migration("authentik_core", "0002_auto_20200523_1133_squashed_0011_provider_name_temp") |  | ||||||
|     @apply_migration("authentik_flows", "0008_default_flows") |     @apply_migration("authentik_flows", "0008_default_flows") | ||||||
|     @apply_migration("authentik_flows", "0011_flow_title") |     @apply_migration("authentik_flows", "0011_flow_title") | ||||||
|     @apply_migration("authentik_flows", "0009_source_flows") |     @apply_migration("authentik_flows", "0009_source_flows") | ||||||
| @ -161,7 +160,6 @@ class TestSourceSAML(SeleniumTestCase): | |||||||
|         ) |         ) | ||||||
|  |  | ||||||
|     @retry() |     @retry() | ||||||
|     @apply_migration("authentik_core", "0002_auto_20200523_1133_squashed_0011_provider_name_temp") |  | ||||||
|     @apply_migration("authentik_flows", "0008_default_flows") |     @apply_migration("authentik_flows", "0008_default_flows") | ||||||
|     @apply_migration("authentik_flows", "0011_flow_title") |     @apply_migration("authentik_flows", "0011_flow_title") | ||||||
|     @apply_migration("authentik_flows", "0009_source_flows") |     @apply_migration("authentik_flows", "0009_source_flows") | ||||||
| @ -241,7 +239,6 @@ class TestSourceSAML(SeleniumTestCase): | |||||||
|         ) |         ) | ||||||
|  |  | ||||||
|     @retry() |     @retry() | ||||||
|     @apply_migration("authentik_core", "0002_auto_20200523_1133_squashed_0011_provider_name_temp") |  | ||||||
|     @apply_migration("authentik_flows", "0008_default_flows") |     @apply_migration("authentik_flows", "0008_default_flows") | ||||||
|     @apply_migration("authentik_flows", "0011_flow_title") |     @apply_migration("authentik_flows", "0011_flow_title") | ||||||
|     @apply_migration("authentik_flows", "0009_source_flows") |     @apply_migration("authentik_flows", "0009_source_flows") | ||||||
|  | |||||||
| @ -53,6 +53,7 @@ class SeleniumTestCase(ChannelsLiveServerTestCase): | |||||||
|  |  | ||||||
|     def setUp(self): |     def setUp(self): | ||||||
|         super().setUp() |         super().setUp() | ||||||
|  |         # pylint: disable=invalid-name | ||||||
|         self.maxDiff = None |         self.maxDiff = None | ||||||
|         self.wait_timeout = 60 |         self.wait_timeout = 60 | ||||||
|         self.driver = self._get_driver() |         self.driver = self._get_driver() | ||||||
| @ -91,11 +92,11 @@ class SeleniumTestCase(ChannelsLiveServerTestCase): | |||||||
|  |  | ||||||
|     def output_container_logs(self, container: Optional[Container] = None): |     def output_container_logs(self, container: Optional[Container] = None): | ||||||
|         """Output the container logs to our STDOUT""" |         """Output the container logs to our STDOUT""" | ||||||
|         ct = container or self.container |         _container = container or self.container | ||||||
|         self.logger.debug("--------container logs", container=ct.image.tags[0]) |         self.logger.debug("--------container logs", container=_container.image.tags[0]) | ||||||
|         for log in ct.logs().decode().split("\n"): |         for log in _container.logs().decode().split("\n"): | ||||||
|             self.logger.debug(log, container=ct.image.tags[0]) |             self.logger.debug(log, container=_container.image.tags[0]) | ||||||
|         self.logger.debug("--------end container logs", container=ct.image.tags[0]) |         self.logger.debug("--------end container logs", container=_container.image.tags[0]) | ||||||
|  |  | ||||||
|     def get_container_specs(self) -> Optional[dict[str, Any]]: |     def get_container_specs(self) -> Optional[dict[str, Any]]: | ||||||
|         """Optionally get container specs which will launched on setup, wait for the container to |         """Optionally get container specs which will launched on setup, wait for the container to | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user
	 Jens Langhammer
					Jens Langhammer