You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
pyentrypoint/tests/configparser_test.py

20 lines
299 B
Python

from commons import clean_env
from pyentrypoint.configparser import ConfigParser
def teardown_function(function):
clean_env()
def test_configparser():
config = '''
[ini]
content = ok
'''.strip()
c = ConfigParser()
c.read_string(config)
assert str(c).strip() == config