def test_fappend_lists(self) : testlist1 = ['a', 'b', 'c'] testlist2 = ['d', 'e'] testlist1 = testlist1 + testlist2 self.assertEquals(testlist1, ask.fappend(testlist1, testlist2))
def test_fappend_mixed(self) : testword1 = "test" testlist1 = ['a', 'b', 'c'] testword = testword1 + testlist1 self.assertEquals(testword, ask.fappend(testword1, testlist1))
def test_fappend_words(self) : testword1 = "test" testword2 = "this" testword1 = testword1 + testword2 self.assertEquals(testword1, ask.fappend('test', 'this'))