Commit Graph

17 Commits

Author SHA1 Message Date
Chenxiong Qi
dd1f918920 Show test coverage
Signed-off-by: Chenxiong Qi <cqi@redhat.com>
2019-09-10 23:02:36 +08:00
mprahl
14098cea08 Migrate to libmodulemd v2
This also moves the methods load_mmd and load_mmd_file to
module_build_service.utils.general.

This also removes some MSE unit tests with a mix of positive and
negative streams since this is not supported in libmodulemd v2. The
user will be presented with a syntax error if they try to submit
such a modulemd file.
2019-05-13 13:40:37 -04:00
Jan Kaluza
7052ea0a11 Make init handler idempotent.
This fixes the issue when module build is cancelled in init state.
2019-02-14 14:18:54 +01:00
mprahl
caadb13f0e Remove the COPR tests
The COPR tests were causing failures and since most of them were
skipped and haven't been updated in a long time, let's just delete
them.
2018-04-03 09:58:57 -04:00
mprahl
8f024e6b04 Remove the dependency on vcrpy in unit tests and modernize some of the test data 2018-02-05 22:17:18 -05:00
mprahl
b7998d4402 Remove the need for nose and solely rely on pytest 2018-02-05 22:11:31 -05:00
mprahl
bc4a612b38 Stop using site_packages when running tox 2018-01-08 08:59:14 -05:00
mprahl
0e9d6f34fe Add tox as a test requirement so you can directly run tox in Vagrant 2017-11-13 14:00:50 -05:00
Martin Curlej
12628e5497 added flake8 in jenkinsfile
Signed-off-by: Martin Curlej <mcurlej@redhat.com>
2017-11-08 10:50:02 +01:00
Filip Valder
7e3914e8b3 Remove parameterized
The reason is mentioned in PR#684:
"I've talked with @fivaldi to rewrite the test to not use parameterized,
since it is not in Fedora."
2017-09-15 13:31:48 +02:00
Filip Valder
3cb41aa5dc Changes in MBS restful API:
- Refactor MBS API code
- Unify module-/component_build API philosophy/design/approach
- Naming fixes
- _utc_datetime_to_iso moved from ModuleBuildAPI and is now a module-level function.
- Existing v1 API remains unchanged. ComponentBuildAPI now supports individual component build listing + verbose mode.
- documented in README
- various component_build API tests added
2017-09-11 14:48:22 +02:00
Filip Valder
e6d80c0293 introduce tox & pytest as well as other stuff (flake8, bandit and prepare for future automated build&release steps) 2017-03-31 11:15:32 +02:00
Ralph Bean
efd47569ae vcrpy is a test requirement. 2017-01-17 11:54:41 -05:00
Filip Valder
efe688aa6f re-ordered; fix: flask with capital 'F' 2016-12-05 15:16:41 +01:00
Matt Prahl
725157d253 Install copr instead of copr-backend to fix error 2016-10-31 12:21:13 -04:00
Courtney Pacheco
29733e02e5 Modifying test requirements & updating pdc.py to use the new 'module_build_service' name in place of 'rida' 2016-10-25 03:43:20 -04:00
Ralph Bean
40a3448dca Some handlers and one test. 2016-07-13 16:55:51 -04:00