def test_is_dev_false_for_non_dev_environments(): c = Configuration(environment='production') assert c.is_dev() == False
def test_is_dev_true_for_dev_environments(): for env in Configuration.DEVELOPMENT_ENVIRONMENTS: c = Configuration(environment=env) assert c.is_dev()