Esempio n. 1
0
 def test_from_pdb(self):
     """ Test Crystal.from_pdb constructor """
     c = Crystal.from_pdb("1fbb")
     self.assertIn("1fbb", c.source)
Esempio n. 2
0
def test_from_pdb():
    """Test Crystal.from_pdb constructor"""
    c = Crystal.from_pdb("1fbb")
    assert "1fbb" in c.source