Exemple #1
0
 def test_can_use_overridden_applications(self):
     # Run & check
     apps = get_apps(overrides=['test.forum'])
     assert 'test.forum' in apps
Exemple #2
0
 def test_can_return_the_vanilla_applications(self):
     # Run & check
     assert get_apps() == MACHINA_VANILLA_APPS
Exemple #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
Exemple #4
0
 def test_can_return_the_vanilla_applications(self):
     # Run & check
     assert get_apps() == MACHINA_VANILLA_APPS
Exemple #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
Exemple #6
0
 def test_can_use_overridden_applications(self):
     # Run & check
     apps = get_apps(overrides=['test.forum'])
     assert 'test.forum' in apps