Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
amyasnikov committed Feb 19, 2025
1 parent c2b74fc commit 389a2f5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion validity/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ def __getitem__(self, item):
settings.MIGRATION_MODULES = UseTestMigrations(
lambda app: None
) # force creating the tables according to the models
call_command("migrate", interactive=False, database=connection.alias, run_syncdb=True)
call_command("migrate", interactive=False, database=connection.alias, run_syncdb=True, verbosity=0)
settings.MIGRATION_MODULES = {}


Expand Down
4 changes: 2 additions & 2 deletions validity/tests/test_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,8 +202,8 @@ class TestCustomCommand(ViewTest):
factory_class = partial(CommandFactory, parameters={"a": {"b": {"c": "d"}}}, type="custom")
model_class = models.Command
post_body = {
"name": "CMD-2",
"label": "CMD_2",
"name": "cmd-2",
"label": "cmd_2",
"type": "custom",
"params": '{"p1": "v1"}',
}
Expand Down

0 comments on commit 389a2f5

Please sign in to comment.