Ejemplo n.º 1
0
 def test_version(self):
     m = SmugMug()
     assert m.version == "1.2.2", "expected version 1.2.2"
     m.version = "1.2.1"
     assert m.version == "1.2.1", "expected version 1.2.1"
     b = m.batch()
     assert b.version == "1.2.1", "expected version 1.2.1"
     b = SmugBatch()
     assert b.version == "1.2.2", "expected version 1.2.2"
Ejemplo n.º 2
0
 def test_protocol(self):
     m = SmugMug(secure=True)
     assert m.protocol == "https", "expected https protocol"
     b = m.batch()
     assert b.protocol == "https", "expected https protocol"