flows: fix linting

This commit is contained in:
Jens Langhammer 2020-05-11 21:27:46 +02:00
parent 9814d3be03
commit d49c58f326
1 changed files with 2 additions and 4 deletions

View File

@ -104,10 +104,8 @@ class TestFlowExecutor(TestCase):
CONFIG.update_from_dict({"domain": "testserver"})
dest = "/unique-string"
response = self.client.get(
reverse("passbook_flows:flow-executor", kwargs={"flow_slug": flow.slug})
+ f"?{NEXT_ARG_NAME}={dest}"
)
url = reverse("passbook_flows:flow-executor", kwargs={"flow_slug": flow.slug})
response = self.client.get(url + f"?{NEXT_ARG_NAME}={dest}")
self.assertEqual(response.status_code, 302)
self.assertEqual(response.url, dest)