Commit graph

1085 commits

Author SHA1 Message Date
Mike McLean
1d215e6355 unit test for new_typed_build 2016-09-28 18:20:09 -04:00
Mike McLean
c58b7c2ea9 unit test for get_build_type 2016-09-28 18:20:09 -04:00
Mike McLean
dab217f424 update runroot cli test case 2016-09-28 18:02:59 -04:00
Tomas Kopecek
68d8ee874d Update cli tests for assign-task command 2016-09-28 14:52:43 -04:00
Mohan Boddu
dd82e9cea2 Remove all bad-whitespaces
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2016-08-29 14:26:32 -04:00
Mike McLean
0c27f1b1b4 add unit tests for koji.openRemoteFile 2016-08-10 12:06:30 -04:00
Lubomír Sedlář
df875e2619 Test lchmod is called any any order
The test suite should not assume any particular order in which os.lchmod
is invoked.
2016-08-08 18:10:49 -04:00
Ralph Bean
3a1972e8da Get the test suite working again. 2016-08-08 18:02:35 -04:00
Mike McLean
952891ea2f unit test for safer_move() 2016-07-26 16:20:54 -04:00
Matt Prahl
f237fd5100 Adds unit tests for tasks.py
Adds Vagrant support to run unit tests
2016-07-21 17:08:45 -04:00
Sijis Aviles
25afea24f2 Add test cases for delete_build() function 2016-06-09 15:02:50 -04:00
Ralph Bean
e95f142ddf Scrub comments based on feedback from @mikem in #93. 2016-06-09 14:59:20 -04:00
Ralph Bean
7e1c6d4cfb Add tests for the UpdateProcessor. 2016-06-09 14:59:20 -04:00
Ralph Bean
a62e15324c Scrub comments based on feedback from @mikem in #93. 2016-06-09 09:17:34 -04:00
Ralph Bean
6bbc1a312d Add tests for the QueryProcessor. 2016-06-09 09:16:18 -04:00
Ralph Bean
57d7dbf8b8 The beginnings of some cli tests. 2016-06-08 14:53:41 -04:00
Ralph Bean
afb49f0d99 Test for import build and import rpm. 2016-06-08 14:53:03 -04:00
Ralph Bean
9e0af368ee Tests for rpmdiff and check_noarch_rpms. 2016-06-08 14:51:38 -04:00
Ralph Bean
8b013f9802 Add test for importImageInternal. 2016-06-08 14:41:06 -04:00
Ralph Bean
738f3553b5 Test _applyQueryOpts. 2016-06-08 12:21:10 -04:00
Ralph Bean
b12905774f Add a test of the runroot hub plugin. 2016-06-08 12:08:05 -04:00
Ralph Bean
3a75076e97 Tests for the insert processor. 2016-06-08 11:59:40 -04:00
Ralph Bean
5b56ff8de6 Tests for the Host model. 2016-06-07 17:20:39 -04:00
Ralph Bean
a876e9750b Some tests for the base policy stuff. 2016-06-07 17:11:56 -04:00
Sijis Aviles
3f91d4834b Add test for get_upload_path() functio 2016-06-03 02:17:07 -05:00
Sijis Aviles
ab98309a13 Add test for get_verify_class() function 2016-06-02 19:42:10 -05:00
Ralph Bean
0f411d9821 Make HiddenUser into HiddenUsers.
At @mikeb's suggestion in the code review, this makes HiddenUsers plural.

This makes the whole changeset a little more invasive than it was before, so please review carefully.
2016-05-16 13:43:39 -04:00
Ralph Bean
5d6305e4de Remove unused var. 2016-05-16 13:43:39 -04:00
Ralph Bean
708b6a411c Allow hiding a user from the frontpage task list.
This adds new query arguments to the taskList hub xmlrpc endpoint, and then
makes use of those arguments in koji-web.  A new optional configuration value
is added for koji-web: `HiddenUser`, which can be used to specify which user
account should be hidden.  This could be useful for deployments that have a
continuous-integration account, the spam from which makes the frontpage
difficult to read.

Unit test cases are also added for some functions of the hub taskList endpoint.

Signed-off-by: Ralph Bean <rbean@redhat.com>
2016-05-16 13:43:39 -04:00
Mike McLean
8821f98910 add unit test for using profiles in threads
see: https://pagure.io/koji/issue/58
2016-04-11 12:09:28 -04:00
Ralph Bean
05575f7669 Add tests for koji.Enum. 2016-03-15 11:29:41 -04:00
Ralph Bean
01bb6e63fa Test krbv failing when krbV is not installed. 2016-03-15 11:29:41 -04:00
Ralph Bean
f475b92802 Coverage tracking for the test suite.
If you issue `make test`, it will run the tests and print out a coverage
reporting indicating what lines of code were covered by the tests and which
were not.  This will (hopefully) be useful more over time as we start to write
more tests.
2016-03-15 11:29:41 -04:00
Jesse Keating
fb272f87f8 We don't use these files anymore 2007-06-12 14:24:21 -04:00
Jesse Keating
5d7e66a17e Initial code drop 2007-02-14 11:25:01 -05:00