Skip to content

Commit

Permalink
Merge pull request #35 from broadinstitute/ct-update-test-config
Browse files Browse the repository at this point in the history
update docker base image to v2.2.3 of viral-core; Update conftest.py to account for breaking changes in the newer version of pytest
  • Loading branch information
tomkinsc authored Nov 28, 2023
2 parents 80bcc1d + df00e74 commit a5a334b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM quay.io/broadinstitute/viral-core:2.2.1
FROM quay.io/broadinstitute/viral-core:2.2.3

LABEL maintainer "[email protected]"

Expand Down
6 changes: 3 additions & 3 deletions conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,13 +165,13 @@ def pytest_terminal_summary(self, terminalreporter, exitstatus):
if self.durations is None:
return

writer = terminalreporter.writer
writer = terminalreporter

slowest = sorted(self.stats.items(), key=operator.itemgetter(1), reverse=True)
if not self.durations:
writer.sep("=", "slowest fixture durations")
writer.write_sep("=", "slowest fixture durations")
else:
writer.sep("=", "slowest %s fixture durations" % self.durations)
writer.write_sep("=", "slowest %s fixture durations" % self.durations)
slowest = slowest[:self.durations]


Expand Down

0 comments on commit a5a334b

Please sign in to comment.