Exemplo n.º 1
0
 def test_not_switch_flag(self):
     ok_(not switch('foo')().has_permission(self.request, ''))
Exemplo n.º 2
0
 def test_not_switch_flag(self):
     ok_(not switch('foo')().has_permission(self.request, ''))
Exemplo n.º 3
0
 def test_waffle_switch(self):
     self.create_switch('foo')
     ok_(switch('foo')().has_permission(self.request, ''))
Exemplo n.º 4
0
 def test_waffle_switch(self):
     self.create_switch('foo')
     ok_(switch('foo')().has_permission(self.request, ''))