Exemple #1
0
	def test0_0(self):
		statement = PhoneStatement.factory('0')
		self.assertEquals(str(statement), '0')	
Exemple #2
0
	def testPhrase_Number(self):
		statement = PhoneStatement.factory('1-HOME-SWEET-HOME')
		self.assertEquals(str(statement), '1-4663-79338-4663')
Exemple #3
0
	def test1_1(self):
		statement = PhoneStatement.factory('1')
		self.assertEquals(str(statement), '1')
Exemple #4
0
	def testWG_94(self):
		statement = PhoneStatement.factory('WG')
		self.assertEquals(str(statement), '94')
Exemple #5
0
	def testS_7(self):
		statement = PhoneStatement.factory('S')
		self.assertEquals(str(statement), '7')
Exemple #6
0
	def testD_3(self):
		statement = PhoneStatement.factory('D')
		self.assertEquals(str(statement), '3')
Exemple #7
0
	def testC_2(self):
		statement = PhoneStatement.factory('C')
		self.assertEquals(str(statement), '2')
Exemple #8
0
	def testhiffen_hiffen(self):
		statement = PhoneStatement.factory('-')
		self.assertEquals(str(statement), '-')