We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9082b0a commit d0b34ebCopy full SHA for d0b34eb
1 file changed
ietf/iesg/tests.py
@@ -398,9 +398,9 @@ def test_agenda_telechat_docs(self):
398
399
tar = tarfile.open(None, fileobj=StringIO.StringIO(r.content))
400
names = tar.getnames()
401
- self.assertTrue(d1_filename in names)
402
- self.assertTrue(d2_filename not in names)
403
- self.assertTrue("manifest.txt" in names)
+ self.assertIn(d1_filename, names)
+ self.assertNotIn(d2_filename, names)
+ self.assertIn("manifest.txt", names)
404
405
f = tar.extractfile(d1_filename)
406
self.assertEqual(f.read(), "test content")
0 commit comments