emerge: add simple unit tests
authorZac Medico <zmedico@gentoo.org>
Mon, 29 Aug 2011 06:50:16 +0000 (23:50 -0700)
committerZac Medico <zmedico@gentoo.org>
Mon, 29 Aug 2011 06:50:16 +0000 (23:50 -0700)
commit0891a5f671527f99fa1e9ca56ea96e5566abd52f
tree10d8dfe2f9f585d9ec91d510049c21e1f39f4b96
parent7e0ac7d2c92f3556623e4ff34bebffd80fe5f23a
emerge: add simple unit tests

These tests are similar to the repoman tests, using a
__PORTAGE_TEST_EPREFIX environment variable to make emerge confine
itself to a testing prefix so that things like install and uninstall
operations can be performed.
pym/portage/__init__.py
pym/portage/data.py
pym/portage/tests/emerge/__init__.py [new file with mode: 0644]
pym/portage/tests/emerge/__test__ [new file with mode: 0644]
pym/portage/tests/emerge/test_simple.py [new file with mode: 0644]