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, ''))