def test_rm_String1SpaceS_DoesNotCallAddShow(self, client): cmd = ShowTrackerCmd(client) rm_args = "1 S" cmd.do_rm(rm_args) assert not client.remove_tvshow.called
def test_rm_String1Space_CallsAddShowWithInt1(self, client): cmd = ShowTrackerCmd(client) rm_args = "1 " cmd.do_rm(rm_args) client.remove_tvshow.assert_called_once_with(1)