예제 #1
0
def configrep():
    """Return a ConfigRep instance using the included minipippy package."""
    return ConfigRep(setup_path="tests/minipippy")
예제 #2
0
def test_install_package():
    """Test the class method."""
    assert ConfigRep.install_package("pyyaml")
예제 #3
0
def bad_configrep():
    """Return a ConfigRep instance with a bad config file."""
    return ConfigRep(setup_path="pathdoesnotexist")