We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6473afd commit 5160a97Copy full SHA for 5160a97
django_typer/tests/shellcompletion/__init__.py
@@ -183,7 +183,9 @@ def run_app_completion(self):
183
184
def run_command_completion(self):
185
completions = self.get_completions(self.launch_script, "complet")
186
- self.assertIn("completion", completions)
+ # annoingly in CI there are some spaces inserted between the incomplete phrase
187
+ # and the completion on linux in bash specifically
188
+ self.assertTrue(re.match(r".*complet\s*ion.*", completions))
189
completions = self.get_completions(self.launch_script, " ")
190
self.assertIn("makemigrations", completions)
191
self.assertIn("migrate", completions)
0 commit comments