flows: fix linting
This commit is contained in:
parent
9814d3be03
commit
d49c58f326
|
@ -104,10 +104,8 @@ class TestFlowExecutor(TestCase):
|
||||||
|
|
||||||
CONFIG.update_from_dict({"domain": "testserver"})
|
CONFIG.update_from_dict({"domain": "testserver"})
|
||||||
dest = "/unique-string"
|
dest = "/unique-string"
|
||||||
response = self.client.get(
|
url = reverse("passbook_flows:flow-executor", kwargs={"flow_slug": flow.slug})
|
||||||
reverse("passbook_flows:flow-executor", kwargs={"flow_slug": flow.slug})
|
response = self.client.get(url + f"?{NEXT_ARG_NAME}={dest}")
|
||||||
+ f"?{NEXT_ARG_NAME}={dest}"
|
|
||||||
)
|
|
||||||
self.assertEqual(response.status_code, 302)
|
self.assertEqual(response.status_code, 302)
|
||||||
self.assertEqual(response.url, dest)
|
self.assertEqual(response.url, dest)
|
||||||
|
|
||||||
|
|
Reference in New Issue