remove python2.7ism

This commit is contained in:
Peter Eckersley
2015-11-30 21:27:41 -08:00
parent 6b122a044a
commit 2befb2d5c1
+1 -2
View File
@@ -354,8 +354,7 @@ class CLITest(unittest.TestCase): # pylint: disable=too-many-public-methods
'superfluo.us': '/var/www/superfluous'})
webroot_args = ['-d', 'stray.example.com'] + webroot_args
with self.assertRaises(errors.Error):
cli.prepare_and_parse_args(plugins, webroot_args)
self.assertRaises(errors.Error, cli.prepare_and_parse_args, plugins, webroot_args)
webroot_map_args = ['--webroot-map', '{"eg.com" : "/tmp"}']
namespace = cli.prepare_and_parse_args(plugins, webroot_map_args)