Skip to content
Snippets Groups Projects
Commit d08d5d35 authored by David Trattnig's avatar David Trattnig
Browse files

Fix(Test): Regex format

parent 9fa630f2
No related branches found
No related tags found
No related merge requests found
......@@ -47,7 +47,7 @@ class TestApi(unittest.TestCase):
# Success
result = self.api.build_json(data)
result = re.sub('[^a-z0-9\{\}\:"]+', "", result, flags=re.IGNORECASE)
result = re.sub(r'[^a-z0-9\{\}\:"]+', "", result, flags=re.IGNORECASE)
self.assertEqual(json_string, result)
# Check for cleaned up key
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment