Use single-quoted string for consistency

This commit is contained in:
Bruno Oliveira 2015-04-08 00:49:42 -03:00
parent a29b78e8ca
commit 6e3c3d7a70

View File

@ -84,21 +84,21 @@ class TestValidValues:
"""Test __contains__ without a description."""
vv = configtypes.ValidValues('foo', 'bar')
assert 'foo' in vv
assert "baz" not in vv
assert 'baz' not in vv
def test_contains_with_desc(self):
"""Test __contains__ with a description."""
vv = configtypes.ValidValues(('foo', "foo desc"), ('bar', "bar desc"))
assert 'foo' in vv
assert 'bar' in vv
assert "baz" not in vv
assert 'baz' not in vv
def test_contains_mixed_desc(self):
"""Test __contains__ with mixed description."""
vv = configtypes.ValidValues(('foo', "foo desc"), 'bar')
assert 'foo' in vv
assert 'bar' in vv
assert "baz" not in vv
assert 'baz' not in vv
def test_iter_without_desc(self):
"""Test __iter__ without a description."""