Commit bc0d203f by Sébastien Eustace

Fix tests

parent 8d813402
...@@ -180,8 +180,8 @@ def test_show_basic_with_not_installed_packages_decorated(app, poetry, installed ...@@ -180,8 +180,8 @@ def test_show_basic_with_not_installed_packages_decorated(app, poetry, installed
tester.execute() tester.execute()
expected = """\ expected = """\
\033[32mcachy \033[0m \033[36m0.1.0\033[0m Cachy package \033[36mcachy \033[0m \033[1m0.1.0\033[0m Cachy package
\033[31mpendulum\033[0m \033[36m2.0.0\033[0m Pendulum package \033[31mpendulum\033[0m \033[1m2.0.0\033[0m Pendulum package
""" """
assert expected == tester.io.fetch_output() assert expected == tester.io.fetch_output()
...@@ -311,8 +311,8 @@ def test_show_latest_decorated(app, poetry, installed, repo): ...@@ -311,8 +311,8 @@ def test_show_latest_decorated(app, poetry, installed, repo):
tester.execute("--latest") tester.execute("--latest")
expected = """\ expected = """\
\033[32mcachy \033[0m \033[36m0.1.0\033[0m \033[33m0.2.0\033[0m Cachy package \033[36mcachy \033[0m \033[1m0.1.0\033[0m \033[33m0.2.0\033[0m Cachy package
\033[32mpendulum\033[0m \033[36m2.0.0\033[0m \033[31m2.0.1\033[0m Pendulum package \033[36mpendulum\033[0m \033[1m2.0.0\033[0m \033[31m2.0.1\033[0m Pendulum package
""" """
assert expected == tester.io.fetch_output() assert expected == tester.io.fetch_output()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment