Exemplo n.º 1
0
def test_is_dev_false_for_non_dev_environments():
    c = Configuration(environment='production')
    assert c.is_dev() == False
Exemplo n.º 2
0
def test_is_dev_true_for_dev_environments():
    for env in Configuration.DEVELOPMENT_ENVIRONMENTS:
        c = Configuration(environment=env)
        assert c.is_dev()