def test_NamedPipeBase_pass_volume_return_volume_container_path_plus_name(
        bogus_volume):
    npb = NamedPipeBase('test', volume=bogus_volume)
    assert npb.container_path == os.path.join(BOGUS_CONTAINER_PATH, 'test')
def test_NamedPipeBase_pass_volume_return_volume_host_path_plus_name(
        bogus_volume):
    npb = NamedPipeBase('test', volume=bogus_volume)
    assert npb.host_path == os.path.join(BOGUS_HOST_PATH, 'test')
def test_NamedPipeBase_host_path_returns_host_path_plus_name():
    npb = NamedPipeBase('test',
                        container_path='/bogus/container_path',
                        host_path='/bogus/host_path')

    assert npb.host_path == '/bogus/host_path/test'