コード例 #1
0
    def test_lattice_snapshot(self):
        lattice = create_lattice()

        with self.assertRaises(TypeError):
            snapshot(lattice, "fail.png")
コード例 #2
0
ファイル: test_show.py プロジェクト: simphony/simphony-aviz
    def test_lattice_show(self):
        lattice = create_lattice()

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