예제 #1
0
 def test_different_nodes(self):
     self.assertNotEqualIncludingHash(Foobar.val('a'), Foobar.var('a'))
예제 #2
0
 def test_var(self):
     f = Foobar()
     self.assertNodeOutput("%meep%", f.val(f.var('meep')))
예제 #3
0
 def test_var(self):
     self.assertEqualIncludingHash(Foobar.var('hi'), Foobar.var('hi'))
     self.assertNotEqualIncludingHash(Foobar.var('hi'), Foobar.var('ho'))