+ +
+

app.tests.test_views

+

Test(s) for Flask Views

+
+

Module Contents

+
+

Functions

+ ++++ + + + + + + + + +

test_visitors(app, client)

Test if Vistors get expected endpoints and status codes

test_user_auth_flow(app, client)

Test User Authentication Flow

+
+
+

Attributes

+ ++++ + + + + + + + + +

ts

To create confirmation tokens

data2check_visitors

Dictionary of Path, Expected Status Code and Data to Test for Visitors

+
+
+app.tests.test_views.ts
+

To create confirmation tokens

+
+ +
+
+app.tests.test_views.data2check_visitors
+

Dictionary of Path, Expected Status Code and Data to Test for Visitors

+
+ +
+
+app.tests.test_views.test_visitors(app, client)
+

Test if Vistors get expected endpoints and status codes

+
+ +
+
+app.tests.test_views.test_user_auth_flow(app, client)
+

Test User Authentication Flow

+

Tests Registeration, Email-Confirmation and Log-in along with appropriate redirects.

+
+ +
+
+
+ + +