Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 375551

Summary: app-portage/layman-2.0.0_rc1-r1 fails tests with ImportError: No module named action
Product: Portage Development Reporter: Markus Walter <gentoo>
Component: ToolsAssignee: Christian Ruppert (idl0r) <idl0r>
Status: RESOLVED FIXED    
Severity: normal CC: dolsen, kanelxake, kentnl, tools-portage, xangel1
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 375789    
Attachments: build log
emerge --info

Description Markus Walter 2011-07-18 10:34:59 UTC
Created attachment 280291 [details]
build log

layman-2.0.0_rc1-r1 fails the test suite with the following error.

 * Testing of app-portage/layman-2.0.0_rc1-r1 with CPython 2.7...
Traceback (most recent call last):
  File "layman/tests/dtest.py", line 52, in <module>
    import layman.action             #CT
ImportError: No module named action
Comment 1 Markus Walter 2011-07-18 10:35:17 UTC
Created attachment 280293 [details]
emerge --info
Comment 2 Brian Dolbec (RETIRED) gentoo-dev 2011-07-18 15:23:53 UTC
That test suite is for the old 1.4 layman.  I have not yet made tests for the new api.  action.py is gone and I have a totally different api in place.

I will have it updated for the final release.
Comment 3 Brian Dolbec (RETIRED) gentoo-dev 2011-07-23 06:48:29 UTC
all tests now pass as of commit 0fde69e7ef993c3e5cca925cef35c8c895cfd834.

This includes several new tests.  
but there are still more tests to create for the new api.
Comment 4 Brian Dolbec (RETIRED) gentoo-dev 2011-12-03 00:49:46 UTC
Fixed and released in >=layman-2.0.0_rc2.