diff --git a/remarkbox/tests/test_models.py b/remarkbox/tests/test_models.py index b5ffda9..2ee6acd 100644 --- a/remarkbox/tests/test_models.py +++ b/remarkbox/tests/test_models.py @@ -138,20 +138,20 @@ class TestNamespace(unittest.TestCase): self.namespace.subscription_type = "production" self.namespace.link_protection = True self.namespace.hide_powered_by = True - self.namespace.mathjax = True + self.namespace.katex = True self.assertTrue(self.namespace.link_protection) self.assertTrue(self.namespace.hide_powered_by) - self.assertTrue(self.namespace.mathjax) + self.assertTrue(self.namespace.katex) self.assertFalse(self.namespace.memoized_attr_protection) def test_namespace_development_custom_settings(self): self.namespace.subscription_type = "development" self.namespace.link_protection = True self.namespace.hide_powered_by = True - self.namespace.mathjax = True + self.namespace.katex = True self.assertFalse(self.namespace.link_protection) self.assertFalse(self.namespace.hide_powered_by) - self.assertFalse(self.namespace.mathjax) + self.assertFalse(self.namespace.katex) self.assertTrue(self.namespace.memoized_attr_protection) def test_namespace_simulate_expired_subscription(self): @@ -159,10 +159,10 @@ class TestNamespace(unittest.TestCase): self.namespace.subscription_type = "production" self.namespace.link_protection = True self.namespace.hide_powered_by = True - self.namespace.mathjax = True + self.namespace.katex = True self.assertTrue(self.namespace.link_protection) self.assertTrue(self.namespace.hide_powered_by) - self.assertTrue(self.namespace.mathjax) + self.assertTrue(self.namespace.katex) # next the namespace subscription expires with custom settings. self.namespace.subscription_type = "development" @@ -170,7 +170,7 @@ class TestNamespace(unittest.TestCase): self.assertTrue(self.namespace.memoized_attr_protection) self.assertFalse(self.namespace.link_protection) self.assertFalse(self.namespace.hide_powered_by) - self.assertFalse(self.namespace.mathjax) + self.assertFalse(self.namespace.katex) # finally the namespace subscription is renewed with custom settings. self.namespace.subscription_type = "production" @@ -178,7 +178,7 @@ class TestNamespace(unittest.TestCase): self.assertFalse(self.namespace.memoized_attr_protection) self.assertTrue(self.namespace.link_protection) self.assertTrue(self.namespace.hide_powered_by) - self.assertTrue(self.namespace.mathjax) + self.assertTrue(self.namespace.katex) class TestNamespaceRequest(unittest.TestCase):