Skip to content

Commit 948a783

Browse files
authored
Merge pull request #41 from broadinstitute/ct-update-test-config
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
2 parents c9f7bb9 + 0ed0de0 commit 948a783

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM quay.io/broadinstitute/viral-core:2.2.1
1+
FROM quay.io/broadinstitute/viral-core:2.2.3
22

33
LABEL maintainer "[email protected]"
44

conftest.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -166,13 +166,13 @@ def pytest_terminal_summary(self, terminalreporter, exitstatus):
166166
if self.durations is None:
167167
return
168168

169-
writer = terminalreporter.writer
169+
writer = terminalreporter
170170

171171
slowest = sorted(self.stats.items(), key=operator.itemgetter(1), reverse=True)
172172
if not self.durations:
173-
writer.sep("=", "slowest fixture durations")
173+
writer.write_sep("=", "slowest fixture durations")
174174
else:
175-
writer.sep("=", "slowest %s fixture durations" % self.durations)
175+
writer.write_sep("=", "slowest %s fixture durations" % self.durations)
176176
slowest = slowest[:self.durations]
177177

178178

0 commit comments

Comments
 (0)