Ejemplo n.º 1
0
 def test_txt_getset(self):
     z = Zone()
     record = {'alias': 'joe',
               'txt': '"Located in a black hole" " somewhere"'}
     self.assertEqual(z.txt(), [])
     self.assertEqual(z.txt(record),
                      [{'alias': 'joe',
                        'txt': '"Located in a black hole" " somewhere"'}])
Ejemplo n.º 2
0
 def test_txt_getset(self):
     z = Zone()
     record = {'alias': 'joe',
               'txt': '"Located in a black hole" " somewhere"'}
     self.assertEqual(z.txt(), [])
     self.assertEqual(z.txt(record),
                      [{'alias': 'joe',
                        'txt': '"Located in a black hole" " somewhere"'}])