19 Commits

Author SHA1 Message Date
Dirk Müller
730630f06f
Use f-strings where possible 2024-05-07 21:52:32 +02:00
Stephan Kulow
044f19b7dc Keep images repository disabled on freeze command
Fixes #2789
2022-04-01 10:45:48 +02:00
Stephan Kulow
aaab4af930 Target F401 - Unused imports 2022-02-18 18:29:27 +01:00
Stephan Kulow
529d1dafae Target E302 - add two comment lines before class 2022-02-18 17:15:48 +01:00
Ancor Gonzalez Sosa
28c771927a Rename OBSLocal.StagingWorkflow to OBSLocal.FactoryWorkflow 2021-09-09 15:07:34 +02:00
Stephan Kulow
9dcb403753 Merge vcrhelpers into OBSLocal
There are no more vcrs only a local OBS - even if not exported to
localhost
2019-05-05 10:49:05 +02:00
Stephan Kulow
58d6d7ca16 Python3 fixes 2019-05-04 15:44:44 +02:00
Stephan Kulow
0e00c83f09 Rename OBSLocal.OBSLocalTestCase to OBSLocal.TestCase
And make use of it in the vcrhelper using tests
2019-05-04 15:44:44 +02:00
Stephan Kulow
8ba4e2fb84 Run the nosetests in a tumbleweed container instead of travis environment
The docker-compose file starts an OBS instance (on 15.0 atm) and runs
the test suite in a test container (tumbleweed), so all tests run in
an isolated environment accessing OBS at api:3000
2019-05-04 15:44:39 +02:00
Stephan Kulow
8a7b65d505 Remove fake OBS in favor of using generated test data 2019-05-04 15:44:39 +02:00
Stephan Kulow
c11313b2dc Fix imports, python3 doesn't import from . 2019-04-30 14:29:16 +02:00
Jimmy Berry
6069245350 Remove SUSE copyright, warranty, and license headers.
Distinct copyrights were left as I do not wish to track down commit
history to ensure it properly documents the copyright holders. Also left
non-GPLv2 licenses and left bs_copy untouched as a mirror from OBS.

Already have a mix of with and without headers and even OBS does not place
on majority of files. If SUSE lawyers have an issue it will come up in
legal review for Factory.
2018-08-23 19:18:06 -05:00
Jimmy Berry
760ddf39e6 osclib/conf: decouple from StagingAPI and always fetch remote config.
As the remote config is no longer optional for SLE and is utilized by
openSUSE to the point were it is dangerous not to load the remote config
it should be required. Currently only certain users call apply_remote()
while this will make it built-in during construction and thus makes the
usage consistent and no longer require StagingAPI.
2018-08-16 21:53:40 -05:00
Alberto Planas
c9d1e06ca8 Refactor configuration parameters into configuration file. 2015-02-19 11:39:05 +01:00
29b8bcca6b Makes staging pluging Factory agnostic. 2014-08-07 12:58:47 +02:00
77d1d18c48 Rewrite OBS mockup test, fixtures and tests. 2014-06-04 11:04:37 +02:00
Tomáš Chvátal
73084cf3dc Import freeze command visibly and fix select test. 2014-03-07 15:10:04 +01:00
780073f6d8 Fix headers and comment dead code. 2014-02-28 11:45:06 +01:00
Michal Hrusecky
e41bac8c6e Split freeze test out of api tests 2014-02-26 16:23:16 +01:00