autopep8 : fixed style
This commit is contained in:
parent
b485ca8198
commit
7303c387e8
@ -237,4 +237,3 @@ def find(parser, args):
|
|||||||
long=args.long,
|
long=args.long,
|
||||||
very_long=args.very_long,
|
very_long=args.very_long,
|
||||||
show_flags=args.show_flags)
|
show_flags=args.show_flags)
|
||||||
|
|
||||||
|
@ -29,15 +29,18 @@
|
|||||||
|
|
||||||
|
|
||||||
class Bunch(object):
|
class Bunch(object):
|
||||||
|
|
||||||
def __init__(self, **kwargs):
|
def __init__(self, **kwargs):
|
||||||
self.__dict__.update(kwargs)
|
self.__dict__.update(kwargs)
|
||||||
|
|
||||||
|
|
||||||
class FindTest(unittest.TestCase):
|
class FindTest(unittest.TestCase):
|
||||||
|
|
||||||
def test_query_arguments(self):
|
def test_query_arguments(self):
|
||||||
query_arguments = spack.cmd.find.query_arguments
|
query_arguments = spack.cmd.find.query_arguments
|
||||||
# Default arguments
|
# Default arguments
|
||||||
args = Bunch(only_missing=False, missing=False, unknown=False, explicit=False, implicit=False)
|
args = Bunch(only_missing=False, missing=False,
|
||||||
|
unknown=False, explicit=False, implicit=False)
|
||||||
q_args = query_arguments(args)
|
q_args = query_arguments(args)
|
||||||
self.assertTrue('installed' in q_args)
|
self.assertTrue('installed' in q_args)
|
||||||
self.assertTrue('known' in q_args)
|
self.assertTrue('known' in q_args)
|
||||||
|
Loading…
Reference in New Issue
Block a user