1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-12-25 17:36:13 +01:00
Commit Graph

26 Commits

Author SHA1 Message Date
fe59986e1c Run autopep8 to fix whitespace issues 2022-09-12 13:45:19 +02:00
b511be20ff Always import at the toplevel 2022-09-12 13:45:19 +02:00
9cc4a5594f Fix resource warnings (unclosed files) 2022-08-24 08:43:09 +02:00
feb53212dd Modernize code with pyupgrade
pyupgrade --keep-percent-format --py36-plus `find -name '*.py'`
2022-07-28 19:14:12 +02:00
229913a77f Clean imports up, drop python 2 fallbacks 2022-07-28 13:17:43 +02:00
25a6e04e2b Run tests via calling 'setup.py test' 2022-03-29 14:01:55 +02:00
5f1109072f fix checkout of meta files
typo leaded to wrong parameter
2019-09-16 14:01:35 +02:00
Christian Berendt
d35983d5b8 Resolve PEP8 issue W291
* W291 trailing whitespace
2014-08-12 15:01:16 +02:00
Marcus Huewe
fdcfd5e315 - cleanup working copies... 2010-09-08 16:18:35 +02:00
Marcus Huewe
acbf2dabd5 - new testcase for a package without a revision 2010-09-06 18:11:12 +02:00
Marcus Huewe
0502e81b26 - added new testcase 2010-09-03 21:28:17 +02:00
Marcus Huewe
5c8b258a6b - fixed read_sizelimit: added missing strip
- fix for commit 89c9cb67f4: self.size_limit should be an int
- added testcase for local _size_limit constraint
2010-09-03 16:09:56 +02:00
Marcus Huewe
89c9cb67f4 - renamed limit_size to size_limit (only internal variable changes)
- added new method "get_files_meta" to the Package class (which handles
  the the "skip file and service stuff")
2010-09-03 14:51:20 +02:00
Marcus Huewe
3ac330f7cd - fixed _meta_mode + added testcase 2010-08-31 16:54:44 +02:00
Marcus Huewe
3cf8a5bf88 - fixed commit (Package class)
- use "self.rev" when calling update_local_filesmeta (otherwise we might get a newer revision)
- write addlist after commit
2010-08-31 13:30:37 +02:00
Marcus Huewe
e21e61f20e - minor fixes 2010-08-31 13:30:36 +02:00
Marcus Huewe
62dc807378 - moved common methods into the OscTestCase class 2010-08-31 13:30:36 +02:00
Marcus Huewe
5b6aa0a4fc - added testsuite module which aggregates all testcases 2010-08-31 13:30:36 +02:00
Marcus Huewe
e6b451596c - moved __change_to_pkg into common module (new name _change_to_pkg)
removed unused method "__expected_requests" from TestUpdate class
2010-08-31 13:30:36 +02:00
Marcus Huewe
f4adf69ef9 - refactored testcase code: moved common stuff into a common module 2010-08-31 13:30:36 +02:00
Marcus Huewe
a6efd9e970 - adjust testcase for commit 9205d4d902cd3d45747c30405acd92bd5f98d210 2010-08-31 13:30:36 +02:00
Marcus Huewe
d8c59c8438 - update: support special handling for _service: files 2010-08-31 13:30:35 +02:00
Marcus Huewe
63df61e452 - simplify 2010-08-31 13:30:35 +02:00
Marcus Huewe
58ca66a417 - update: always use 'rev' query parameter when fetching files 2010-08-31 13:30:35 +02:00
Marcus Huewe
e91475508e - support limit_size parameter during update
also added testcases
2010-08-31 13:30:35 +02:00
Marcus Huewe
b6a2266a5e - initial testcases for the new update mechanism
some generic stuff from test_update.py will be moved into a new
module later
2010-08-31 13:30:35 +02:00