Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/m/e/mediadrop-HEAD/mediadrop/lib/auth/tests/mediadrop_permission_system_test.py   mediadrop(Download)
    def test_authenticated_users_belong_to_anonymous_and_authenticated_groups(self):
        user = User.example()
        self.assert_user_groups([self.anonymous, self.authenticated], user)
 
    def test_metagroup_assignment_does_not_fail_if_groups_are_not_found_in_db(self):
        DBSession.delete(self.anonymous)
        DBSession.delete(self.authenticated)
        DBSession.flush()
 
        user = User.example()