def test_two(self): # case: no ID, no note, no hashtag self.assertFalse( tasker.initial_check_tasker_ch( test_cursor, test_connection, { 'beginning': 'tasker', 'command': 'ch', 'note': '', 'extra note': '' }))
def test_ten(self): # case: many IDs, no notes, no hashtag self.assertFalse( tasker.initial_check_tasker_ch( test_cursor, test_connection, { 'beginning': 'tasker', 'command': 'ch', 'note': 'goga', 'extra note': 'kal', 'IDs': [35, 36] }))
def test_five(self): # case: ID is given, note in base, no hashtag self.assertFalse( tasker.initial_check_tasker_ch( test_cursor, test_connection, { 'beginning': 'tasker', 'command': 'ch', 'note': 'goga', 'extra note': 'kal', 'IDs': [1] }))
def test_seven(self): # case: many IDs, many notes, hashtag is given self.assertFalse( tasker.initial_check_tasker_ch( test_cursor, test_connection, { 'beginning': 'tasker', 'command': 'ch', 'note': 'goga', 'hashtag': 0, 'extra note': 'kal', 'IDs': [1, 2] }))
def test_six(self): # case: ID is given, no note, hashtag is given self.assertFalse( tasker.initial_check_tasker_ch( test_cursor, test_connection, { 'beginning': 'tasker', 'command': 'ch', 'note': 'goga', 'hashtag': 0, 'extra note': 'kal', 'IDs': [35] }))
def test_four(self): # case: no ID, hashtag is given self.assertFalse( tasker.initial_check_tasker_ch( test_cursor, test_connection, { 'beginning': 'tasker', 'command': 'ch', 'note': 'goga', 'hashtag': 1, 'extra note': 'kal', 'IDs': [] }))