New: [rhinstaller/blivet/pulls/148 master] Remove facilities for running tests as standalone modules.

mulkieran installerbot-noreply at redhat.com
Thu Jun 4 13:07:06 UTC 2015


* Remove #!/usr/bin/python shebang from tests.
* Remove unittest.main() from tests.
* Remove a definition of suite method, which we no longer use.

The tests should be run via the unittest discovery mechanism.
They are best run by invoking the "test" target in the Makefile.

This allows any necessary setup to occur, including overrides
for Python2/3 compatibility.

Signed-off-by: mulhern <amulhern at redhat.com>
-- 
To view this pull request on github, visit https://github.com/rhinstaller/blivet/pull/148


More information about the anaconda-patches mailing list