Commit Graph

23 Commits

Author SHA1 Message Date
Ralph Bean
8431d2698b Explicit imports of builders in the test suite. 2017-11-10 16:03:14 -05: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