(self)
| 331 | self.checkError([opt, 'all,-gui=0'], 'invalid resource: -gui=0') |
| 332 | |
| 333 | def test_memlimit(self): |
| 334 | for opt in '-M', '--memlimit': |
| 335 | with self.subTest(opt=opt): |
| 336 | ns = self.parse_args([opt, '4G']) |
| 337 | self.assertEqual(ns.memlimit, '4G') |
| 338 | self.checkError([opt], 'expected one argument') |
| 339 | |
| 340 | def test_testdir(self): |
| 341 | ns = self.parse_args(['--testdir', 'foo']) |
nothing calls this directly
no test coverage detected