Skip to content

Commit

Permalink
Fix alignment in config_test.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Cosmin Jinga committed Oct 22, 2021
1 parent f5aefb3 commit c39c228
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions tests/config_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,15 +227,14 @@ def test_reload_yang_config(self, get_cmd_module,
assert "\n".join([l.rstrip() for l in result.output.split('\n')]) \
== RELOAD_YANG_CFG_OUTPUT


@classmethod
def teardown_class(cls):
os.environ['UTILITIES_UNIT_TESTING'] = "0"
os.remove(cls.dummy_cfg_file)
print("TEARDOWN")


class TestConfigCbf(object):
class TestConfigCbf(object):
@classmethod
def setup_class(cls):
print("SETUP")
Expand All @@ -256,8 +255,8 @@ def test_cbf_reload_single(
except OSError:
pass
result = runner.invoke(
config.config.commands["cbf"],
["reload", "--dry_run", output_file]
config.config.commands["cbf"],
["reload", "--dry_run", output_file]
)
print(result.exit_code)
print(result.output)
Expand Down

0 comments on commit c39c228

Please sign in to comment.