• C
    Selftests: remove evil "simple import magic" · 6149e2dc
    Cleber Rosa 提交于
    Even though I may be the one to blame about coming up with this
    "simple import magic", I believe it was a mistake and we should get
    rid of them.
    
    There are a couple of other ways to actually do development out of
    of a source tree, including running unittests that do not require
    this amount of boiler plate code. Examples include just setting
    the PYTHONPATH environment variable to actually run (setuptools based)
    `python setup.py develop`.
    
    The little bits of what looks like the import magic that was left, is
    not really import magic. It's just that functional tests need to locate
    the Avocado source tree base directory to run the test runner from it.
    Signed-off-by: NCleber Rosa <crosa@redhat.com>
    6149e2dc
test_basic.py 28.9 KB