(self)
| 210 | self.assertFalse(ns.randomize) |
| 211 | |
| 212 | def test_fromfile(self): |
| 213 | for opt in '-f', '--fromfile': |
| 214 | with self.subTest(opt=opt): |
| 215 | ns = self.parse_args([opt, 'foo']) |
| 216 | self.assertEqual(ns.fromfile, 'foo') |
| 217 | self.checkError([opt], 'expected one argument') |
| 218 | self.checkError([opt, 'foo', '-s'], "don't go together") |
| 219 | |
| 220 | def test_exclude(self): |
| 221 | for opt in '-x', '--exclude': |
nothing calls this directly
no test coverage detected