Docstring missing for
after_each
141
142
143@hooks.after_each
144def after_each(transaction): 145 with stash['app'].app_context():
146 db.session.remove()
147
Docstring missing for
before_each
124
125
126@hooks.before_each
127def before_each(transaction): 128 with stash['app'].app_context():
129 db.engine.execute("drop schema if exists public cascade")
130 db.engine.execute("create schema public")
Docstring missing for
before_all
114
115
116@hooks.before_all
117def before_all(transaction): 118 app = Flask(__name__)
119 app.config.from_object('config.TestingConfig')
120 db.init_app(app)
Docstring missing for
create_super_admin
100 return token
101
102
103def create_super_admin(email, password): 104 user = UserFactory(
105 email=email,
106 password=password,
Docstring missing for
obtain_token
90api_uri = "http://localhost:5555/v1/auth/login"
91
92
93def obtain_token(): 94 data = {"email": api_username, "password": api_password}
95 url = api_uri
96 response = requests.post(url, json=data)
Description
The module/function docstring is missing.
If you want to ignore this, you can configure this in the .deepsource.toml
file. Please refer to docs for available options.