def test_dips_fact_2(self): dips_fact = "DIPS AS is a great place to work. \nWe have open positions" line = distinctConcat(dips_fact) self.assertEqual( "DIPS AS is a great place to work. We have open positions", line) Problems.testBase.Succeeded(2)
def test_dips_fact_5(self): dips_fact = "DIPS AS is a great place to work. \nDIPS AS is a great place to work. \nWe have open positions \nin Trondheim, Bodø, Oslo and Tromsø. \nin Trondheim, Bodø, Oslo and Tromsø. \nCome join us!" line = distinctConcat(dips_fact) self.assertEqual( "DIPS AS is a great place to work. We have open positions in Trondheim, Bodø, Oslo and Tromsø. Come join us!", line) Problems.testBase.Succeeded(5)
def test_dips_fact_1(self): dips_fact = "DIPS AS is a great place to work" line = distinctConcat(dips_fact) self.assertEqual("DIPS AS is a great place to work", line) Problems.testBase.Succeeded(1)