def setUpTestData(cls): # volunteer user - totally useless common.initialize_empty_volunteer() # organization user - no offers common.initialize_empty_organization() # volunteer user - offers, organizations common.initialize_filled_volunteer_and_organization()
def setUpTestData(cls): # volunteer user - totally useless common.initialize_empty_volunteer() # organization user - no offers common.initialize_empty_organization() # volunteer user - badges, offers, organizations common.initialize_filled_volunteer_and_organization()
def setUpTestData(cls): # admin user cls.admin = common.initialize_administrator( username=cls.test_admin_username, email=cls.test_admin_email, password=cls.test_admin_password) # volunteer user - totally useless cls.volunteer = common.initialize_empty_volunteer() # organization user - no offers common.initialize_empty_organization() # volunteer user - offers, organizations common.initialize_filled_volunteer_and_organization()
def setUpTestData(cls): # admin user cls.admin = common.initialize_administrator( username=cls.test_admin_username, email=cls.test_admin_email, password=cls.test_admin_password ) # volunteer user - totally useless cls.volunteer = common.initialize_empty_volunteer() # organization user - no offers common.initialize_empty_organization() # volunteer user - offers, organizations common.initialize_filled_volunteer_and_organization()
def setUpTestData(cls): u"""Data fixtures for all tests.""" # volunteer user - totally useless cls.volunteer = common.initialize_empty_volunteer() # organization user - no offers cls.organization = common.initialize_empty_organization() # volunteer user - offers, organizations cls.volunteer2, cls.organization2 = \ common.initialize_filled_volunteer_and_organization()
def setUpTestData(cls): """Data fixtures for all tests.""" # volunteer user - totally useless cls.volunteer = common.initialize_empty_volunteer() # organization user - no offers cls.organization = common.initialize_empty_organization() # volunteer user - offers, organizations cls.volunteer2, cls.organization2 = \ common.initialize_filled_volunteer_and_organization()