Пример #1
0
 def test_fix_address2(self):
     actual = CN.fix_address2(block_name=self.block_name)
     expected = self.block_name
     self.assertEqual(actual, expected)
Пример #2
0
 def test_fix_address1_house_name(self):
     actual = CN.fix_address1(housename=self.housename,
                              street_number='',
                              street_name=self.street_name)
     expected = self.housename + '  ' + self.street_name
     self.assertEqual(actual, expected)
Пример #3
0
 def test_background_merge(self):
     actual = CN.background_merge(notes='n1', comments='c1')
     expected = 'n1 c1'
     self.assertEqual(actual, expected)
Пример #4
0
 def test_fix_address2(self):
     actual = CN.fix_address2(block_name=self.block_name)
     expected = self.block_name
     self.assertEqual(actual, expected)
Пример #5
0
 def test_fix_address1_house_name(self):
     actual = CN.fix_address1(housename=self.housename, street_number='', street_name=self.street_name)
     expected = self.housename + '  ' + self.street_name
     self.assertEqual(actual, expected)
Пример #6
0
 def test_background_merge(self):
     actual = CN.background_merge(notes='n1', comments='c1')
     expected = 'n1 c1'
     self.assertEqual(actual, expected)