def test_not_switch_flag(self): ok_(not switch('foo')().has_permission(self.request, ''))
def test_waffle_switch(self): self.create_switch('foo') ok_(switch('foo')().has_permission(self.request, ''))