jobrauer
c584d84b76
JIRA: RHELBLD-257,RHELBLD-310 - refactor clean_database
...
Replace clean_database calls with cheaper truncate operation.
Remove duplicate calls of clean_database.
Extract clean_database/init_data into fixtures.
2020-05-15 16:06:42 +02:00
Chenxiong Qi
1c0715662a
Cleanup module_build_service/__init__.py
...
Most of the code are moved to dedicated subpackages, but some others
can't due to the cycle dependencies.
Signed-off-by: Chenxiong Qi <cqi@redhat.com >
2020-03-03 14:48:48 -05:00
Chenxiong Qi
81b36b1d6e
Add indexes to ModuleBuild and ComponentBuild
...
Tests are updated accordingly as well.
Signed-off-by: Chenxiong Qi <cqi@redhat.com >
2020-03-03 14:48:47 -05:00
mprahl
81f2bffdda
Rearrange the imports to meet the style guide
...
This also includes `from __future__ import absolute_import`
in every file so that the imports are consistent in Python 2 and 3.
The Python 2 tests fail without this.
2020-03-03 14:48:47 -05:00
mprahl
9ddb35b8d3
Move models.py to common/models.py and views.py to web/views.py
2020-03-03 14:48:47 -05:00