test_ini_manage.py 251 B

1234567891011
  1. import os
  2. import salt.modules.ini_manage
  3. def test_section_req():
  4. """
  5. Test the __repr__ in the _Section class
  6. """
  7. expected = "_Section(){}{{}}".format(os.linesep)
  8. assert repr(salt.modules.ini_manage._Section("test")) == expected