Commit c356875f authored by Raphael Das Gupta's avatar Raphael Das Gupta
Browse files

re-run black with `--line-length 120`

parent 11af7290
Pipeline #50847 passed with stages
in 52 seconds
......@@ -42,17 +42,11 @@ class TestArgumentParser(unittest.TestCase):
parse_arguments(["https://gitlab.toofew.com/proj", "afc87", "toofew.md.jinja2"])
captured = self.capsys.readouterr()
self.assertTrue(captured.err.startswith("usage: "))
self.assertTrue(
captured.err.endswith(
" [-h] [-v] gitlab_url access_token template output_file\n"
)
)
self.assertTrue(captured.err.endswith(" [-h] [-v] gitlab_url access_token template output_file\n"))
def test_valid_arguments(self):
args = parse_arguments(
["https://gitlab.alright.com", "afc87", "alright.md.jinja2", "alright.md"]
)
args = parse_arguments(["https://gitlab.alright.com", "afc87", "alright.md.jinja2", "alright.md"])
self.assertEqual("https://gitlab.alright.com", args.gitlab_url)
self.assertEqual("afc87", args.access_token)
self.assertEqual("alright.md.jinja2", args.template)
......
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