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