Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

testlib enhancements - #157 to master branch #172

Closed
wants to merge 3 commits into from
Closed

testlib enhancements - #157 to master branch #172

wants to merge 3 commits into from

Conversation

matelakat
Copy link
Contributor

No description provided.

Mate Lakat added 3 commits June 10, 2014 09:10
Enhance the testing library by faking out os.makedirs and file. This
will enable to test further components, which try to use these
functions.

Also create a setup_error_codes method that will pretend that the error
codes file required by XenError are there.

Also increase the existing testlib's coverage to 100%.

Signed-off-by: Mate Lakat <mate.lakat@citrix.com>
(cherry picked from commit 0c91e38)
If the XML error description does not exist in the filesystem, XenError
tried to call Exception.__init__(self, ''), which is invalid, as self is
not inheriting from Exception.

Github: fixes #158

Signed-off-by: Mate Lakat <mate.lakat@citrix.com>
(cherry picked from commit cb1e0df)
It is no longer required to compile snapwatchd and put the bindings on
the pythonpath, so removing it.

Signed-off-by: Mate Lakat <mate.lakat@citrix.com>
(cherry picked from commit 310776c)
@coveralls
Copy link

Coverage Status

Changes Unknown when pulling 7239bc7 on matelakat:master-testlib-enhancements into * on xapi-project:master*.

andrey-podko pushed a commit to andrey-podko/sm that referenced this pull request Aug 16, 2022
GitHub: closes xapi-project#172 on xapi-project/sm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants