Skip to content

Commit

Permalink
use fluentmock anyway, error message will improve
Browse files Browse the repository at this point in the history
  • Loading branch information
mriehl committed Aug 28, 2014
1 parent e71a749 commit a628b6c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/unittest/python/plugins/filter_resources_plugin_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,5 @@ def test_should_warn_when_substitution_is_skipped(self):
self.assertEquals("${n/a}", ProjectDictWrapper(project_mock, logger_mock)["n/a"])

verify(project_mock, NEVER).get_property("n/a")
# verify(logger_mock).warn() TODO @mriehl Why doesn't this work???
logger_mock.warn.assert_called_with(
verify(logger_mock).warn(
"Skipping impossible substitution for 'n/a' - there is no matching project attribute or property.")

0 comments on commit a628b6c

Please sign in to comment.