'The script fails for an invalid --samples flag.'

def test_options_samples_invalid(self):

    with capture_stderr():
        exception = self.assertRaises(SystemExit, self.call_main, ['--samples', 'X'], self.get_default_environ())
    self.assertIn('Invalid    sample    count', exception.args[0])
