Skip to content

Commit

Permalink
run expiration test with coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
glass-ships committed Aug 19, 2024
1 parent 6d210b4 commit 04b669b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/test_expiration.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,7 @@ def test_expiration_user(self, data_server):
def test_deleting_expired(self):
"""Test the purge_expired_data command"""
command = "docker exec -i live_data_server-django-1 bash -ic"
# subcommand = "conda activate livedata && cd app && coverage run manage.py purge_expired_data"
subcommand = "conda activate livedata && cd app && python manage.py purge_expired_data"
subcommand = "conda activate livedata && cd app && coverage run manage.py purge_expired_data"
output = subprocess.check_output([*command.split(" "), subcommand])
print(output)

Expand Down

0 comments on commit 04b669b

Please sign in to comment.