示例#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")