Skip to content

Commit

Permalink
Fix remaining missing lines from tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dwhswenson committed Dec 10, 2021
1 parent 059f816 commit f0d946b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion paths_cli/tests/test_parameters.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def _filename(self, getter):

def create_file(self, getter):
filename = self._filename(getter)
if getter == "named":
if getter == "name":
self.other_scheme = self.other_scheme.named("other")
self.other_engine = self.other_engine.named("other")

Expand Down
2 changes: 2 additions & 0 deletions paths_cli/tests/wizard/test_wizard.py
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,7 @@ def test_save_to_file(self, toy_engine):
assert len(storage.networks) == len(storage.schemes) == 0
assert len(storage.engines) == 1
assert storage.engines[toy_engine.name] == toy_engine
assert storage.engines[0] == toy_engine
assert "Everything has been stored" in self.wizard.console.log_text

@pytest.mark.parametrize('req,count,expected', [
Expand Down Expand Up @@ -382,6 +383,7 @@ def test_run_wizard(self, toy_engine):
assert len(storage.networks) == len(storage.schemes) == 0
assert len(storage.engines) == 1
assert storage.engines[toy_engine.name] == toy_engine
assert storage.engines[0] == toy_engine

def test_run_wizard_quit(self):
console = MockConsole()
Expand Down

0 comments on commit f0d946b

Please sign in to comment.