Martin Curlej
1eb3c653dd
Changed the filters so they execute when everything is build
...
Signed-off-by: Martin Curlej <mcurlej@redhat.com >
2017-10-31 16:04:31 -04:00
Jan Kaluza
b56f56a486
Use dogpile.cache to cache the default_buildroot_groups result
2017-10-26 14:03:23 +02:00
Martin Curlej
60b3d97c97
flake8 cleanup
...
Signed-off-by: Martin Curlej <mcurlej@redhat.com >
removed some noqa tags
2017-10-25 12:13:59 +02:00
Jakub Kadlcik
8db83b11ab
Mock also _create_chroot_safe so nothing is really created
2017-09-09 13:51:07 +02:00
Jakub Kadlcik
d39ebf5ccb
Mock CoprClient.create_project method
...
So the python-copr-1.79-1 is not required for the chroots= parameter
2017-09-09 13:45:52 +02:00
Jakub Kadlcik
7353d4ce0b
Copr uses latest-Fedora-Modular-26 repo
2017-09-09 13:43:45 +02:00
Jakub Kadlcik
58af071602
Not depend on values order
2017-09-09 13:43:42 +02:00
Jakub Kadlcik
de26b5614e
Dont require copr config file
2017-09-09 10:07:42 +02:00
Jakub Kadlcik
f492e096b6
Fix mock path to copr module builder
2017-09-09 10:07:42 +02:00
Jakub Kadlcik
06e2d2b688
Move copr tests to proper directory
2017-09-09 10:07:42 +02:00
Jan Kaluza
ac92a389d6
Fix module dist_tag separator in tests
2017-08-31 10:46:42 -04:00
Filip Valder
7ef2975984
PEP8 fixes
2017-07-17 18:29:10 +02:00
Ralph Bean
bb56e4f057
Refactor get_build_by_artifact so that it always returns the same kind of dict.
2017-07-14 09:21:52 -04:00
Ralph Bean
d9b1576353
Tests for _get_build_by_artifact.
...
Tests for https://pagure.io/fm-orchestrator/pull-request/583
2017-07-13 14:09:37 -04:00
Ralph Bean
4c60030d31
Use a real module dist_tag here instead of module_x (for believability!)
2017-07-13 14:01:52 -04:00
Ralph Bean
ed0db4ddea
Indentation.
2017-07-13 14:01:27 -04:00
Ralph Bean
5d034185af
Remove unused bits.
2017-07-13 14:01:09 -04:00
Jakub Kadlčík
e8dd847cea
Run init_data() before querying a module
2017-04-13 17:42:12 +02:00
Jakub Kadlčík
e3c3167fae
Don't mock the ModuleBuild class with namedtuple for tests
2017-04-13 16:44:55 +02:00
Jakub Kadlčík
b78b0346d2
Pass the module build into builder
2017-04-12 23:53:55 +02:00
Jan Kaluza
c06d900e62
Do not try to tag builds which have been already tagged in a tag
2017-03-17 11:29:38 +01:00
Jan Kaluza
298bf63120
Fix #409 - Remove koji_tag_inherit_from and whitelist all the components we are going to build instead.
2017-03-14 11:28:47 +01:00
Filip Valder
be3b05e673
Additional tests for validate_koji_tag:
...
- Verify that ProgrammingError exception does what it is intended to do.
- Two (str/list) negative tests for validate_koji_tag decorator itself.
- Two (str/list) positive tests for validate_koji_tag decorator itself.
- Support validation in a test for Koji builder.
2017-02-28 09:08:32 +01:00
Matt Jia
e3ea21c0fd
test koji proxyuser feature
2017-02-17 18:24:44 +10:00
Ralph Bean
d83f210297
Get tests of the retry decorator working in the test suite.
2016-11-18 10:19:41 -05:00
Filip Valder
9b808d4354
test buildroot_read() incl. FakeKojiModuleBuilder and FakeKojiSession
2016-11-18 14:39:27 +01:00
Filip Valder
35781690a7
wip: new test for KojiModuleBuilder.buildroot_ready()
2016-11-18 10:24:34 +01:00
Filip Valder
37cde8cf2f
Load testing values from config
2016-11-18 10:24:34 +01:00
Filip Valder
2a53b74bcf
Lint
2016-11-18 10:24:34 +01:00
Jan Kaluza
d9916a1634
Fix #126 - remove Builder class
2016-11-01 14:44:42 +01:00
Ralph Bean
66de3457af
Fix the test suite.
...
These must've not gotten renamed in a PR merge dance.
2016-10-25 15:09:22 -04:00
Jan Kaluza
a7c2386983
Fix #117,#51 - Add rida.builder.Builder.tag_to_repo method to get the URL to repository based on a tag name. Also create target when creating build target to ensure this repo is generated for Koji builder.
2016-10-25 12:10:16 +02:00