Esempio n. 1
0
 def test_title(self):
     data = vcard.create_vcard(first_name="Mikko", last_name="Ohtamaa", title="Mr.")
     print data
     assert "Mr." in data
Esempio n. 2
0
 def test_double_link(self):
     data = vcard.create_vcard(first_name="Mikko", last_name="Ohtamaa", www_link="http://mfabrik.com", www_link_2="http://mfabrik.mobi")
     print data
     assert ".com" in data
     assert ".mobi" in data
Esempio n. 3
0
 def test_double_phone_number(self):
     data = vcard.create_vcard(first_name="Mikko", last_name="Ohtamaa", mobile_number="+3581231234", landline_number="+35820100100")
     print data
     assert "100100" in data
     assert "1234" in data