$ nosetests
EE.EEE......
======================================================================
ERROR: test_rule_matching (TestLintRule.TestRule)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/cgroom/tmp/ansible-lint/test/TestLintRule.py", line 16, in test_rule_matching
matches = ematcher.matchlines(filename, text)
File "/Users/cgroom/tmp/ansible-lint/lib/ansiblelint/__init__.py", line 22, in matchlines
result = self.match(file, line)
TypeError: match() takes exactly 2 arguments (3 given)
======================================================================
ERROR: test_rule_postmatching (TestLintRule.TestRule)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/cgroom/tmp/ansible-lint/test/TestLintRule.py", line 25, in test_rule_postmatching
matches = rule.matchlines(filename, text)
File "/Users/cgroom/tmp/ansible-lint/lib/ansiblelint/__init__.py", line 22, in matchlines
result = self.match(file, line)
TypeError: match() takes exactly 2 arguments (3 given)
======================================================================
ERROR: test_run_collection (TestRulesCollection.TestRulesCollection)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/cgroom/tmp/ansible-lint/test/TestRulesCollection.py", line 17, in test_run_collection
matches = self.rules.run('test/ematchtest.txt')
File "/Users/cgroom/tmp/ansible-lint/lib/ansiblelint/__init__.py", line 61, in run
with open(playbookfile['path'], 'r') as f:
TypeError: string indices must be integers, not str
======================================================================
ERROR: test_skip_tags (TestRulesCollection.TestRulesCollection)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/cgroom/tmp/ansible-lint/test/TestRulesCollection.py", line 33, in test_skip_tags
matches = self.rules.run('test/ematchtest.txt', skip_tags=['test1'])
File "/Users/cgroom/tmp/ansible-lint/lib/ansiblelint/__init__.py", line 61, in run
with open(playbookfile['path'], 'r') as f:
TypeError: string indices must be integers, not str
======================================================================
ERROR: test_tags (TestRulesCollection.TestRulesCollection)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/cgroom/tmp/ansible-lint/test/TestRulesCollection.py", line 21, in test_tags
matches = self.rules.run('test/ematchtest.txt', tags=['test1'])
File "/Users/cgroom/tmp/ansible-lint/lib/ansiblelint/__init__.py", line 61, in run
with open(playbookfile['path'], 'r') as f:
TypeError: string indices must be integers, not str
----------------------------------------------------------------------
Ran 12 tests in 0.087s
FAILED (errors=5)