Commit Graph

22 Commits

Author SHA1 Message Date
Hunor Csomortáni
30215a1ac5 Tests: improve reporting when running with tox
Generate a short report at the end of each test run and a self-contained
HTML report, too.

Signed-off-by: Hunor Csomortáni <csomh@redhat.com>
2019-12-06 12:33:44 +01:00
Hunor Csomortáni
0066c79dae Bootstrap integration tests
This is the first step to have some tests, that we could run against an
MBS instance, to check that it's functionally correct. Ultimately, these
will replace the test scripts (`contrib/test-*`).

This doesn't really do anything yet, but I would like to make sure that
everyone is on the same page regarding how this will be set up.

Signed-off-by: Hunor Csomortáni <csomh@redhat.com>
2019-10-24 10:16:16 +02:00
Chenxiong Qi
dd1f918920 Show test coverage
Signed-off-by: Chenxiong Qi <cqi@redhat.com>
2019-09-10 23:02:36 +08:00
Valerij Maljulin
aa8fae180f Ignore mbstest.db in git
Signed-off-by: Valerij Maljulin <vmaljuli@redhat.com>
2019-08-02 16:35:50 +02:00
mprahl
83d7d96141 Use a volume when running the unit tests instead of copying the source in the image 2018-06-14 08:54:27 -04:00
mprahl
183c74d758 Add .pytest_cache to .gitignore 2018-02-06 10:45:07 -05: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
Martin Curlej
03cff80e4a Streamlined cmd line options for local builds
Signed-off-by: Martin Curlej <mcurlej@redhat.com>
2017-11-10 12:33:42 -05:00
Ralph Bean
c49a0192f0 Some new gitignore stuff. 2017-11-03 15:57:26 -04:00
mprahl
8db5de5a81 Add .vscode to .gitignore 2017-09-15 09:21:59 -04:00
Jan Kaluza
aa8a0574e4 Move vcrpy cache to gzipped tarball and extract it before tests execution. 2017-09-08 11:35:24 +02:00
Filip Valder
870ff0f018 re-order ignored files/dirs and add these new:
/.cache/
/.coverage*
/.tox/
2017-03-31 11:29:24 +02:00
Ralph Bean
88aca055ce Replace query to FAS with OIDC groups scope check.
This removes our query to FAS and fixes #304.

It is more flexible too, where we can now configure production to only
allow in members of the `modularity-wg` group, and then later open it up
to all packagers after F26 is out (as was agreed with FESCo).

In the process of working on this, I discovered that #305 is not
necessary.  We don't need our own scope; we can just use the `groups`
scope as done here.
2017-02-10 15:50:41 -05:00
Ralph Bean
166c4fd1cb Make this more generic. 2016-12-12 15:40:51 -05:00
Ralph Bean
d13c7991ed Cleanup in preparation for package review.
I'm taking on #235.  This is all stuff that came up while doing a
cursory package review myself.

- The source files all state that they are MIT, but the specfile and
  repo claimed to be GPL.  I switched everything to MIT (even though I
  favor GPL.. the source was MIT first before it was incorrectly
  labelled GPL).
- There are various bugs and lint issues in the specfile fixed here.
- Notably, the systemd service file is missing from the 1.0.0 tarball on
  PyPI, so I'll need to do a new release after this.
2016-12-12 15:09:58 -05:00
Matt Prahl
e9d0ec898b Use test database instead of in-memory database for all tests for consistency 2016-12-12 09:00:44 -05:00
Matt Prahl
c362cc5089 Add build to .gitignore 2016-12-07 09:00:45 -05:00
Filip Valder
8598b55027 exclude this directories from git's attention 2016-12-05 15:18:26 +01:00
Matt Prahl
b4082dc551 Rename module from rida to module_build_service
Rename routes from /rida/1/module-builds/ to /module-build-service/1/module-builds/
2016-10-24 10:30:23 -04:00
Matt Prahl
7a928c3e8c Adds database migration support, converts rida.conf to config.py, adds Vagrant support, seperates out app views to views.py, control of the app now manage.py 2016-08-01 13:22:01 -04:00
Petr Šabata
ab7b65d6a5 Add the database and key files to .gitignore
Signed-off-by: Petr Šabata <contyk@redhat.com>
2016-07-09 18:32:48 +02:00
Ralph Bean
ac2024ca48 Add a gitignore file. 2016-06-30 10:48:37 -04:00