Bastien Montagne
81978594a8
Fix tests broken by rB58632a7f3c0f1be6.
...
Commits breaking RNA API should always run all tests, and do text search
in python code base to ensure everything is updated as needed.
2021-09-06 10:56:02 +02:00
Bastien Montagne
8355e3fc77
Unittest: Extend and basic linking tests and add basic append tests.
...
We could check many more things still, but this should already cover
most basic common cases.
2021-09-01 12:51:07 +02:00
Campbell Barton
ef7efc3751
Tests: don't write thumbnails when running tests
...
Also replace WM_OT_read_factory_settings with WM_OT_read_homefile
so the preferences don't have to be reloaded.
2021-03-04 17:43:12 +11:00
Campbell Barton
e21f1136c2
Tests: fix 'ctest -j' running multiple tests at once
...
bl_blendfile_io & bl_blendfile_liblink shared a filename,
which could make these tests fail.
2020-12-10 17:18:38 +11:00
Campbell Barton
41d2d6da0c
Cleanup: pep8 (indentation, spacing, long lines)
2020-10-02 11:59:16 +10:00
Campbell Barton
bab9de2a52
Cleanup: pep8, blank lines
2020-10-02 11:59:16 +10:00
Brecht Van Lommel
6cab53eaaa
Tests: fix some tests passing even if there are Python errors
...
Blender was not configured to exit with non-zero return code on Python errors.
A bunch of tests worked around this but not all. This removes the need for such
workarounds.
2020-04-28 12:50:16 +02:00
Bastien Montagne
8a2228a597
Remove debug prints from blendfile_liblink.
...
rBf35f7bd97a4151 was the proper fix it seems.
2020-02-18 10:28:33 +01:00
Bastien Montagne
a5ac142a31
Temp debug prints for liblink tests to check what happens on windows.
2020-02-17 21:41:15 +01:00
Bastien Montagne
0c5014aaef
Cleanup: Deduplicate some code in new blenfile io/linking tests.
2020-02-14 12:18:21 +01:00
Bastien Montagne
d46273563e
Add initial, very basic save/open & library linking blendfile tests.
...
Do not do much for now, but would have been enough to catch the crash
introduced the other day in linking code...
2020-02-13 17:48:00 +01:00