Michal Hrušecký
e8c3dcaf81
Merge pull request #88 from scarabeusiv/master
...
Implement non-ring project verification to not wait on obs/openQA
2014-03-04 15:46:23 +01:00
Tomáš Chvátal
6426d92b6a
Fix whitespace.
2014-03-04 15:45:59 +01:00
Tomáš Chvátal
25ccbe0370
Fix ring-packages test.
2014-03-04 14:21:23 +01:00
Michal Hrusecky
673d08b8a3
Split select test to separate file
2014-03-04 12:45:44 +01:00
Michal Hrusecky
51aa975a39
Renaming tests to have nonconflicting name
2014-03-04 12:43:58 +01:00
Stephan Kulow
958a226ee2
test the basics for select
2014-03-04 10:55:55 +01:00
Michal Hrusecky
fe13ca7060
Adding back mock - lost in merge
2014-03-03 23:31:43 +01:00
Michal Hrusecky
dbb547555b
Merge branch 'master' of github.com:openSUSE/osc-plugin-factory
2014-03-03 23:28:58 +01:00
Michal Hrusecky
7badb93081
Capturing current behaviour of check
2014-03-03 23:27:53 +01:00
Michal Hrusecky
e42e9d0da0
Initial support for testing project check
2014-03-03 16:17:41 +01:00
Stephan Kulow
ad71b0843b
implement api call to get days since last freeze
2014-03-03 15:32:33 +01:00
c253cfa9aa
Remove unused packages
2014-02-28 11:11:10 +01:00
Michal Hrusecky
3d262982f2
Test for check_one_request
2014-02-27 16:11:27 +01:00
Michal Hrusecky
93fdf4ae41
Better coverage for rm_from_prj
2014-02-27 15:54:13 +01:00
Michal Hrusecky
edafdf45ad
Test generate_build_status_details
2014-02-27 15:24:22 +01:00
Tomáš Chvátal
a1cc405c3e
Really test ring comparsion.
2014-02-27 13:39:57 +01:00
Michal Hrusecky
8b28483635
Improved adding sr test
2014-02-26 16:30:03 +01:00
Michal Hrusecky
a4694f6344
Ugly hack to migrate the rest of the tests
2014-02-26 16:22:56 +01:00
Michal Hrusecky
6f3dae1fb6
Migrate build results tests
2014-02-26 16:11:32 +01:00
Michal Hrusecky
fcbf2dcd91
We don't need to register to posts anymore
2014-02-26 15:30:04 +01:00
Michal Hrusecky
d58dee073e
Little more about removing and adding SRs
2014-02-26 15:24:25 +01:00
Michal Hrusecky
0d782f50da
Testing removing package from project
2014-02-26 10:59:41 +01:00
Michal Hrusecky
f0b0e6398f
Test get_package_for_request_id as well
2014-02-26 10:04:21 +01:00
Michal Hrusecky
eb90feb139
Test for get_request_id_for_package
2014-02-26 09:51:30 +01:00
Michal Hrusecky
2ead43c950
Migrated test_get_package_information
2014-02-25 15:44:40 +01:00
Michal Hrusecky
e68f58c1b3
Use https
...
Use https everywhere in tests just to get rid of ugly warning :-)
2014-02-25 13:14:17 +01:00
Michal Hrusecky
d2c5097af3
Migrated listing of staging projects
...
Migrated existing test listing existing staging projects to the new test-suite.
2014-02-25 13:14:06 +01:00
Michal Hrusecky
22e86e1b83
Merge branch 'master' of github.com:openSUSE/osc-plugin-factory
...
Conflicts:
tests/api_tests.py
2014-02-25 11:03:29 +01:00
Michal Hrusecky
04e27992f8
Split out fake obs into separate class
...
Separating test from the state machine simulating obs
2014-02-25 10:58:21 +01:00
5f7416e859
Fix missing self
2014-02-25 10:02:27 +01:00
Michal Hrusecky
f3332b1c48
New test for project pseudometadata
...
With new testing class, we can test that it works even better.
2014-02-25 09:28:46 +01:00
Michal Hrusecky
42182ab48a
Merge branch 'master' of github.com:openSUSE/osc-plugin-factory
...
Conflicts:
tests/api_tests.py
Resolved manually
2014-02-24 17:20:48 +01:00
Michal Hrusecky
fa692d5a75
Fixed documentation
...
Updated documentation to reflect changes I did in my previous commit.
2014-02-24 16:27:28 +01:00
Michal Hrusecky
dbb0632977
Split initial state machine to separate class
...
Move OBS simulation to separate class, should be eventually moved to separate
file as well. And converted test_dispatch_open_requests to use new and shiny
testing infrastructure.
2014-02-24 15:52:30 +01:00
Stephan Kulow
576e6ee716
check the request for open reviews before accepting them to avoid errors
...
issue 1593
2014-02-24 13:30:34 +01:00
Stephan Kulow
3cb64d8381
unselect needs to reopen factory-staging review
...
- extend the add_review function to allow by_group too
- readd factory-staging group review for unselect
2014-02-20 11:43:28 +01:00
Michal Hrusecky
00108750be
Better testing, so far only for request reviews
...
To make testing more reliable and nice and generally better, we need to address
few issues. First of all, currently it is hard to figure out what was test
trying to access if accessing it fails. Second issue was that we mixed both
tests and OBS simulation logic. In perfect world, we should write some state
machine simulating OBS in some limited way and checking that scripts behaviour
corresponds to it.
This commit attempts to solve it at one example - review handling test.
2014-02-19 10:49:10 +01:00
Michal Hrusecky
e44f86a939
Tests for review manipulations
2014-02-17 15:12:18 +01:00
Stephan Kulow
6aac10b07f
trying to beat python 3.3
2014-02-17 12:58:35 +01:00
Stephan Kulow
1a04943aeb
rework the check logic and implement review checks (issue 1344)
2014-02-17 12:58:13 +01:00
Stephan Kulow
b2fff384b2
move the 'freeze' command in a file on its own and implement issue 1515
2014-02-15 16:42:07 +01:00
Michal Hrusecky
7acc216073
Tests for checking repository status
2014-02-14 19:17:31 +01:00
Stephan Kulow
8a3f12871b
also test disable_build=True
2014-02-13 14:18:16 +01:00
Stephan Kulow
0f791f19fa
wrote my first test - for create_package_container
2014-02-13 14:15:14 +01:00
2268d6bdf3
Rename StagingApi to StagingAPI
2014-02-13 11:43:10 +01:00
Michal Hrusecky
a74d37ddd9
Not crashing on valid but incorrect YAML
...
Making sure that if we succeed in reading YAML, the result actually contains
the structure we want/need.
2014-02-13 10:44:58 +01:00
Tomáš Chvátal
10e73642f1
Add posibility to move packages between rings with one test. Accidentaly also fix failing test.
2014-02-12 14:27:49 +01:00
b8116e6b11
Revert to a single one POST in the test
2014-02-12 13:52:29 +01:00
1fb0752147
Move StaginAPI into a module. Fix tests.
2014-02-12 13:15:49 +01:00
b8807c4bd2
Fix coding signature for 'utf-8' (PEP 0263)
2014-02-11 10:43:18 +01:00