hass-core/tests/components/binary_sensor
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 Fix PEP257 issues 2016-03-09 10:25:50 +01:00
test_binary_sensor.py Fix PEP257 issues 2016-03-09 10:25:50 +01:00
test_command_line.py Optimize template 2 (#3521) 2016-09-27 21:29:55 -07:00
test_mqtt.py Migrate core from threads to async awesomeness (#3248) 2016-09-12 19:16:14 -07:00
test_nx584.py Removing calls to mock.assert_called_once_with (#3896) 2016-10-16 16:13:27 -07:00
test_sleepiq.py Continue on invalid platforms and new setup_component unit tests (#3736) 2016-10-08 11:27:35 -07:00
test_tcp.py Fix PEP257 issues 2016-03-09 10:25:50 +01:00
test_template.py Removing calls to mock.assert_called_once_with (#3896) 2016-10-16 16:13:27 -07:00
test_trend.py Continue on invalid platforms and new setup_component unit tests (#3736) 2016-10-08 11:27:35 -07:00