def setUp(self): app.config.from_object('config.Testing') self.app = app.test_client() self.new_business_info = { "name": "Crown", "logo": "url", "category": "Construction", "location": "NBO", "bio": "if you like it crown it" } self.update_business_info = { "name": "Crown paints", "logo": "url", "category": "Construction", "location": "NBO", "bio": "if you like it crown it" } self.new_user_info = { "username": "******", 'fullname': 'victor jambo', "email": "*****@*****.**", "password": "******" } self.user_login_info = { "username": "******", "password": "******" }
def setUp(self): app.config.from_object('config.Testing') self.app = app.test_client() self.new_diary_info = { "name": "Crown", "logo": "url", "category": "Construction", "location": "NBO", "bio": "if you like it crown it" } self.update_diary_info = { "name": "Crown paints", "logo": "url", "category": "Construction", "location": "NBO", "bio": "if you like it crown it" } self.new_user_info = { "username": "******", "fullname": "robert jambo", "email": "*****@*****.**", "password": "******" } self.user_login_info = { "username": "******", "password": "******" }
def setUp(self): app.config.from_object('config.Testing') self.app = app.test_client() self.new_entries_info = { "date": "12-07-2018 09:40:38", "title": "Hey", "text": "", "entryId": ["one", "purple", "two", "three", "four"] } self.modify_entries_info = { "date": "12-07-2018 09:40:38", "title": "Hey", "text": "", "entryId": ["one", "purple", "two", "three", "four"] } self.new_user_info = { "username": "******", "fullname": "daniel kamar", "email": "*****@*****.**", "password": "******" } self.user_login_info = { "username": "******", "password": "******" }
def setUp(self): """Creates the app as test client""" app.config.from_object('config.Testing') self.app = app.test_client() self.new_user_info = { 'username': '******', 'fullname': 'victor jambo', 'email': '*****@*****.**', 'password': '******' } self.new_user_login = { 'username': '******', 'password': '******' }
def setUp(self): """Creates the app as test client""" app.config.from_object('config.Testing') self.app = app.test_client() self.new_user_info = { 'username': '******', 'fullname': 'daniel jambo', 'email': '*****@*****.**', 'password': '******' } self.new_user_login = { 'username': '******', 'password': '******' }
def setUp(self): """Creates the app as test client """ self.app = app.test_client() self.new_user_login = { 'username': '******', 'password': '******' } self.new_user_info = { 'username': '******', 'fullname': 'daniel jambo', 'email': '*****@*****.**', 'password': '******' }
def setUp(self): """Creates the app as test client """ app.config.from_object('config.Testing') self.app_client = app.test_client() self.new_user_info = { 'username': '******', 'fullname': 'daniel kamar', 'email': '*****@*****.**', 'password': '******' } self.new_user_login = { 'username': '******', 'password': '******' } self.new_password = { "old_password": "******", "password": "******" }
def setUp(self): app.config.from_object('config.Testing') self.app = app.test_client() self.new_entry = { "title": "Friday 13th", "desc": "Lorem ipsum dolor sit amet consectetur adip elit." } self.new_user_info = { "username": "******", "fullname": "oliver kamar", "email": "*****@*****.**", "password": "******" } self.user_login_info = { "username": "******", "password": "******" } self.new_diary_info = { "name": "Crown paints", "logo": "url", "category": "Construction", "location": "NBO", "bio": "if you like it crown it" }