Example #1
0
 def test_can_use_overridden_applications(self):
     # Run & check
     apps = get_apps(overrides=['test.forum'])
     assert 'test.forum' in apps
Example #2
0
 def test_can_return_the_vanilla_applications(self):
     # Run & check
     assert get_apps() == MACHINA_VANILLA_APPS
Example #3
0
 def test_cannot_use_overridden_applications_with_invalid_names(self):
     # Run & check
     apps = get_apps(overrides=['test.forum_alt'])
     assert 'test.forum_alt' not in apps
Example #4
0
 def test_can_return_the_vanilla_applications(self):
     # Run & check
     assert get_apps() == MACHINA_VANILLA_APPS
Example #5
0
 def test_cannot_use_overridden_applications_with_invalid_names(self):
     # Run & check
     apps = get_apps(overrides=['test.forum_alt'])
     assert 'test.forum_alt' not in apps
Example #6
0
 def test_can_use_overridden_applications(self):
     # Run & check
     apps = get_apps(overrides=['test.forum'])
     assert 'test.forum' in apps