debian-forge/test
David Rheinsberg 46526cf205 osbuild: avoid [] as default value
Using `[]` as default value for arguments makes `pylint` complain. The
reason is that it creates an array statically at the time the function
is parsed, rather than dynamically on invocation of the function. This
means, when you append to this array, you change the global instance and
every further invocation of that function works on this modified array.

While our use-cases are safe, this is indeed a common pitfall. Lets
avoid using this and resort to `None` instead.

This silences a lot of warnings from pylint about "dangerous use of []".
2020-05-28 11:06:05 +02:00
..
data test: add F32 manifests and a manifest-preprocessor 2020-05-20 18:54:38 +02:00
mod test: turn test-doc into test-comment 2020-05-28 11:06:05 +02:00
pipelines test: fix freq, passno types everywhere 2020-05-06 15:42:23 +02:00
run sources: pass the library dir to the sources 2020-05-20 14:43:33 +02:00
sources_tests/org.osbuild.files sources: add org.osbuild.files source 2020-02-06 19:01:12 +01:00
src test: integrate pylint into the test infrastructure 2020-05-13 14:26:05 +02:00
stages_tests tests: add test for the new copy stage 2020-05-28 10:42:18 +02:00
.gitignore introduce testing script 2019-07-09 10:29:48 +02:00
__init__.py osbuild: add description() methods 2019-08-07 10:01:17 +02:00
test.py osbuild: avoid [] as default value 2020-05-28 11:06:05 +02:00
test_assemblers.py test: convert to new osbuild executor 2020-05-20 14:44:43 +02:00
test_boot.py test: convert to new osbuild executor 2020-05-20 14:44:43 +02:00
test_objectstore.py objectstore: extract remove_tree() 2020-04-21 14:46:02 +02:00
test_osbuild.py test/osbuild: add checks for Schema class 2020-05-06 15:42:23 +02:00
test_stageinfo.py test: make ast check pylint conforming 2020-04-20 18:58:26 +02:00
test_stages.py test: convert to new osbuild executor 2020-05-20 14:44:43 +02:00