def test_lattice_snapshot(self):
        lattice = create_lattice()

        with self.assertRaises(TypeError):
            snapshot(lattice, "fail.png")
Exemple #2
0
    def test_lattice_show(self):
        lattice = create_lattice()

        with self.assertRaises(TypeError):
            show(lattice)