We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ffb373d commit b511967Copy full SHA for b511967
tests/twined/test_twine.py
@@ -31,10 +31,10 @@ def test_empty_twine(self):
31
"""Ensures that an empty twine file can be loaded"""
32
with self.assertLogs(level="DEBUG") as log:
33
Twine(source="{}")
34
- self.assertEqual(len(log.output), 3)
35
- self.assertEqual(len(log.records), 3)
36
- self.assertIn("Detected source", log.output[0])
37
- self.assertIn("Validated", log.output[1])
+
+ log_output = "\n".join(log.output)
+ self.assertIn("Detected source", log_output)
+ self.assertIn("Validated", log_output)
38
39
def test_example_twine(self):
40
"""Ensures that the example (full) twine can be loaded and validated"""
0 commit comments