Skip to content

ed/toaster/fix-orm-tests

Ed Bartosh yocto-toaster 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest11 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11toaster: remove prints from the test codebitbake/lib/toaster/orm/tests.py+0 -40 replies
2/11toaster: fix test_build_layerversion test casebitbake/lib/toaster/orm/tests.py+1 -10 replies
3/11toaster: rewrite test for LayerSource modelbitbake/lib/toaster/orm/tests.py+18 -120 replies
4/11toaster: rewrite LILSUpdateTestCasebitbake/lib/toaster/orm/tests.py+17 -130 replies
5/11toaster: reformat LayerVersionEquivalenceTestCasebitbake/lib/toaster/orm/tests.py+74 -500 replies
6/11toaster: reuse common codebitbake/lib/toaster/orm/tests.py+36 -540 replies
7/11toaster: remove duplicated codebitbake/lib/toaster/orm/tests.py+0 -170 replies
8/11toaster: simplify testcase codebitbake/lib/toaster/orm/tests.py+2 -30 replies
9/11toaster: add header to orm/test.pybitbake/lib/toaster/orm/tests.py+23 -00 replies
10/11toaster: remove ProjectLVSelectionTestCasebitbake/lib/toaster/orm/tests.py+9 -90 replies
11/11toaster: move code from setup_lv_tests to setUpbitbake/lib/toaster/orm/tests.py+27 -301 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [review request] [PATCH 00/11] ed/toaster/fix-orm-tests

Hi,

This patchset contains fixes and code cleanups for Toaster ORM tests. Some tests were completely rewritten.

Now all 7 test cases are passed and pylint score is 10.

The following changes since commit a8b723498c9a7106210db140452886894494b4d6:

bitbake: cooker: Resolve file monitoring race issues when using memres bitbake (2015-08-03 07:36:25 +0100)

are available in the git repository at:

git://git.yoctoproject.org/poky-contrib ed/toaster/fix-orm-tests
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=ed/toaster/fix-orm-tests

Ed Bartosh (11):
toaster: remove prints from the test code
toaster: fix test_build_layerversion test case
toaster: rewrite test for LayerSource model
toaster: rewrite LILSUpdateTestCase
toaster: reformat LayerVersionEquivalenceTestCase
toaster: reuse common code
toaster: remove duplicated code
toaster: simplify testcase code
toaster: add header to orm/test.py
toaster: remove ProjectLVSelectionTestCase
toaster: move code from setup_lv_tests to setUp

 bitbake/lib/toaster/orm/tests.py | 272 ++++++++++++++++++++-------------------
 1 file changed, 143 insertions(+), 129 deletions(-)

--
Regards,
Ed