Skip to content

Commit

Permalink
tests: commands: Add basic test to run rewrite_quality_data
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelwood committed May 19, 2022
1 parent d26967f commit e1c637b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions datastore/tests/test_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,3 +96,10 @@ def test_archive_getter_run(self):
initial_publisher_count,
"Publisher count reduced unexpectedly",
)

def test_rewrite_quality_data(self):
err_out = StringIO()

call_command("rewrite_quality_data", "latest", stderr=err_out)

self.assertEqual(len(err_out.getvalue()), 0, "Errors output by command")

0 comments on commit e1c637b

Please sign in to comment.