Esempio n. 1
0
def test_dashed_lower_trailing():
    from env2config.conversions import dashed_lower

    given = 'FOO_BAR_'
    expected = 'foo-bar-'
    result = dashed_lower(given)

    assert result == expected
Esempio n. 2
0
def test_dashed_lower_trailing():
    from env2config.conversions import dashed_lower

    given = "FOO_BAR_"
    expected = "foo-bar-"
    result = dashed_lower(given)

    assert result == expected
Esempio n. 3
0
 def convert_name(self, config_name):
     return dashed_lower(config_name)
Esempio n. 4
0
 def convert_name(self, config_name):
     return dashed_lower(config_name)