diff options
author | Adam Stokes <adam.stokes@ubuntu.com> | 2013-04-04 20:50:59 -0400 |
---|---|---|
committer | Adam Stokes <adam.stokes@ubuntu.com> | 2013-04-04 20:50:59 -0400 |
commit | 0c48b167ea53362b67c46a10c17ee7bc9ea9887a (patch) | |
tree | 0c4871eb82bc7611cdc29e6711861f26b506422e /sos.spec | |
parent | 76156e8b7a8b7a31e30038819d0aa0d7ca5de197 (diff) | |
download | sos-0c48b167ea53362b67c46a10c17ee7bc9ea9887a.tar.gz |
Fix unittests and more pep8 conforming
- In our unittest we defined 'is_installed' to be a bool when in fact we wanted
to verify if a package is installed via the _method_ is is_installed. Since
overriding that method with our variable definition we basically removed
any functionality of 'is_installed' method in Plugin class.
- Initializing a fake plugin to test was failing due to our global
logger not being initialized. Put a simple check in the library to
make sure the logger is defined no matter what the calling state does.
- Make import selinux conditional
- Add travis-ci support
- Rename README to utilize travis-ci build status and other markdown supported
features
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
Diffstat (limited to 'sos.spec')
-rw-r--r-- | sos.spec | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -44,7 +44,7 @@ rm -rf ${RPM_BUILD_ROOT} %{python_sitelib}/* %{_mandir}/man1/* %{_mandir}/man5/* -%doc README LICENSE +%doc README.md LICENSE %config(noreplace) %{_sysconfdir}/sos.conf %changelog |