core/tests/components/thermostat
Rob Capellini 4891ca1610 Removing calls to mock.assert_called_once_with (#3896)
If a mock's assert_called_once_with method is misspelled (e.g. asert_called_once_with) then the test will appear as passing.  Therefore, this commit removes all instances of assert_called_once_with calls and replaces them with two assertions:

        self.assertEqual(mock.call_count, 1)
        self.assertEqual(mock.call_args, mock.call(call_args))
2016-10-16 16:13:27 -07:00
..
__init__.py
test_demo.py Migrate core from threads to async awesomeness (#3248) 2016-09-12 19:16:14 -07:00
test_heat_control.py Continue on invalid platforms and new setup_component unit tests (#3736) 2016-10-08 11:27:35 -07:00
test_honeywell.py Removing calls to mock.assert_called_once_with (#3896) 2016-10-16 16:13:27 -07:00