def test_onenterprise_returns_false_on_standard(self): env = self.mockEnvironmentDeploy config = Config(env) self.assertFalse(config.on_enterprise())
def test_onenterprise_returns_true_on_enterprise(self): env = self.mockEnvironmentDeploy env['PLATFORM_MODE'] = 'enterprise' config = Config(env) self.assertTrue(config.on_enterprise())