Beispiel #1
0
 def test_018(self):
     """ Page classification setter - not an int """
     page = Page()
     with pytest.raises(TypeError):
         page.label = 10
Beispiel #2
0
 def test_019(self):
     """ Page overridden str() """
     page = Page()
     page.label = "foobar"
     self.assertEqual(str(page), "foobar")
Beispiel #3
0
 def test_017(self):
     """ Page classification getter/setter """
     page = Page()
     page.label = "foobar"
     self.assertEqual(page.label, "foobar")