Esempio n. 1
0
 def test_not_waffle_flag(self):
     ok_(not flag('foo')().has_permission(self.request, ''))
Esempio n. 2
0
 def test_waffle_flag(self):
     self.create_flag('foo')
     ok_(flag('foo')().has_permission(self.request, ''))
 def test_not_waffle_flag(self):
     ok_(not flag("foo")().has_permission(self.request, ""))
 def test_waffle_flag(self):
     self.create_flag("foo")
     ok_(flag("foo")().has_permission(self.request, ""))
Esempio n. 5
0
 def test_not_waffle_flag(self):
     ok_(not flag('foo')().has_permission(self.request, ''))
Esempio n. 6
0
 def test_waffle_flag(self):
     self.create_flag('foo')
     ok_(flag('foo')().has_permission(self.request, ''))