(self)
| 2059 | self.assertIn('spameggs42', names[0]) |
| 2060 | |
| 2061 | def test_create_taropen(self): |
| 2062 | with self.taropen(tmpname, "x") as tobj: |
| 2063 | tobj.add(self.file_path) |
| 2064 | |
| 2065 | with self.taropen(tmpname) as tobj: |
| 2066 | names = tobj.getnames() |
| 2067 | self.assertEqual(len(names), 1) |
| 2068 | self.assertIn('spameggs42', names[0]) |
| 2069 | |
| 2070 | def test_create_existing_taropen(self): |
| 2071 | with self.taropen(tmpname, "x") as tobj: |