451 Commits

Author SHA1 Message Date
18216f7d44 Ignore coverage file 2014-02-25 14:13:02 +01:00
Tomáš Chvátal
b5c80d9a31 Merge pull request #61 from miska/master
Another test migrated
2014-02-25 13:20:18 +01:00
Michal Hrusecky
f606046e8e Get rid of not needed fixture 2014-02-25 13:16:48 +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
Alberto Planas
d461bd5415 Merge pull request #60 from miska/master
Split out fake obs into separate class
2014-02-25 11:10:33 +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
Tomáš Chvátal
f075811e71 Merge pull request #59 from aplanas/master
Fix missing self
2014-02-25 10:35:05 +01:00
5f7416e859 Fix missing self 2014-02-25 10:02:27 +01:00
Alberto Planas
b8b9c51234 Merge pull request #58 from miska/master
New test for project pseudometadata
2014-02-25 09:35:02 +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
Alberto Planas
7b374a957d Merge pull request #57 from miska/master
Even better testing
2014-02-25 09:24:58 +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
Alberto Planas
e091bd68b0 Merge pull request #56 from openSUSE/coolo_1593
check the request for open reviews before accepting them to avoid errors
2014-02-24 13:34:06 +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
Michal Hrušecký
7379b92485 Merge pull request #55 from openSUSE/coolo_1585
Looks good
2014-02-24 12:45:46 +01:00
Stephan Kulow
1acb0e509b don't remove prj meta when freezing
- Preserve title and description of the frozen prj (issue 1585)
- add a small stagingapi wrapper for makeurl, makes the code easier to read
  - url = makeurl(self.apiurl, ...
  + url = self.makeurl(...
- don't freeze AGGR (issue 1611)
2014-02-24 11:49:46 +01:00
Michal Hrušecký
1d37f18903 Merge pull request #54 from openSUSE/coolo_1587
osc staging check with argument should give more output than without
2014-02-21 14:32:48 +01:00
Stephan Kulow
3e0cf8ed31 osc staging check with argument should give more output than without
(issue 1587)
2014-02-21 07:10:11 +01:00
Michal Hrušecký
b2b27a1ca7 Merge pull request #53 from openSUSE/coolo_1595
:-)
2014-02-20 14:25:45 +01:00
Stephan Kulow
538668d290 Merge pull request #51 from miska/master
Updated documentation reflecting the test I did
2014-02-20 14:23:31 +01:00
Stephan Kulow
9160515913 actually test the previous commit in action ;( 2014-02-20 14:22:33 +01:00
Michal Hrušecký
5486eb0599 Merge pull request #52 from openSUSE/coolo_1595
Looks ok
2014-02-20 13:28:16 +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
Stephan Kulow
bcf6af0129 avoid tabs in python 2014-02-20 10:04:03 +01:00
Stephan Kulow
189136c6c1 fix one more python 3.3 print 2014-02-20 09:59:51 +01:00
Michal Hrusecky
ac1114b878 Updated documentation reflecting the test I did
Documenting how did I rewrote the test case to make it easier and statefull.
2014-02-20 09:23:50 +01:00
Stephan Kulow
854c8f11cf max fixed openqa, so no need to whitelist tests 2014-02-20 08:04:13 +01:00
Alberto Planas
c4cc1738c8 Merge pull request #50 from miska/master
Whitespace fix
2014-02-19 20:39:03 +01:00
Michal Hrusecky
ef8f61ec3f Whitespace fix 2014-02-19 20:05:01 +01:00
Michal Hrušecký
542abf7fe1 Merge pull request #49 from openSUSE/coolo_fix_supersede
Looks ok, although there is alignment error :-D
2014-02-19 20:03:52 +01:00
Stephan Kulow
a1ad96579f simplify osc staging list output 2014-02-19 17:27:03 +01:00
Michal Hrušecký
254d8bb8e7 Merge pull request #45 from openSUSE/coolo_fix_non_groups
we need to check requests not in group too - on their own
2014-02-19 12:58:12 +01:00
Michal Hrušecký
95b9a94a9e Merge pull request #47 from openSUSE/coolo_implement_accept
implement accept action (issue 1479)
2014-02-19 12:57:03 +01:00
Michal Hrušecký
85b6195b43 Merge pull request #48 from openSUSE/coolo_issue_1577
if the package is not in a ring, build disable it when adding
2014-02-19 12:53:58 +01:00
Stephan Kulow
bbd2c7d7f6 if the package is not in a ring, build disable it when adding 2014-02-19 12:11:56 +01:00
Stephan Kulow
94c7b8f660 Merge pull request #46 from miska/master
Better testing, so far only for request reviews
2014-02-19 11:51:27 +01:00
Stephan Kulow
aeb07c24fc implement accept action (issue 1479) 2014-02-19 11:49:12 +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
Stephan Kulow
5c6ee06651 we need to check requests not in group too - on their own 2014-02-18 21:00:02 +01:00
Michal Hrušecký
20c00eedf5 Merge pull request #44 from openSUSE/coolo_broken_links
work around missing vrev on plain links
2014-02-18 14:38:23 +01:00
Alberto Planas
510f01d64f Merge pull request #43 from openSUSE/coolo_rework_list
moving list command into a file on its own (issue 1591)
2014-02-18 14:37:13 +01:00
Stephan Kulow
3cc1815f97 work around missing vrev on plain links 2014-02-18 14:36:32 +01:00
Stephan Kulow
aa2765c423 moving list command into a file on its own (issue 1591)
Removed accept - which is broken anyway and needs to be redone (issue 1479)
2014-02-18 14:28:45 +01:00
Alberto Planas
ef14eedafc Merge pull request #42 from openSUSE/add_kde5
add new devel project
2014-02-18 13:43:51 +01:00
Stephan Kulow
f7c774687c add new devel project 2014-02-18 13:41:02 +01:00
Alberto Planas
48c6d6fa70 Merge pull request #41 from openSUSE/coolo_unselect
implement unselect option
2014-02-18 13:32:15 +01:00