Git Product home page Git Product logo

alunduil-nixos's People

Contributors

alunduil avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

alunduil-nixos's Issues

zfs-replicate doesn't build with doCheck = true.

When trying to build zfs-replicate with doCheck = true, the following error about /usr/bin/env not being available is thrown:

running install tests
============================= test session starts ==============================
platform linux -- Python 3.6.8, pytest-4.2.1, py-1.7.0, pluggy-0.8.1
hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase('/build/zfs-replicate-1.1.3/.hypothesis/examples')
rootdir: /build/zfs-replicate-1.1.3, inifile:
plugins: hypothesis-4.7.3, cov-2.6.1
collected 11 items

zfs/replicate/list.py .                                                  [  9%]
zfs_test/replicate_test/list_test.py .....                               [ 54%]
zfs_test/replicate_test/optional_test.py ..                              [ 72%]
zfs_test/replicate_test/cli_test/main_test.py F                          [ 81%]
zfs_test/replicate_test/snapshot_test/list_test.py ..                    [100%]

=================================== FAILURES ===================================
_______________________ test_invokes_without_stacktrace ________________________

    def test_invokes_without_stacktrace() -> None:
        """zfs-replicate -l alunduil -i mypy.ini example.com bogus bogus => No stacktrace"""

        runner = CliRunner()
        result = runner.invoke(main, ["-l", "alunduil", "-i", "mypy.ini", "example.com", "bogus", "bogus"])
>       assert isinstance(result.exception, SystemExit), "Expected normal exit."
E       AssertionError: Expected normal exit.
E       assert False
E        +  where False = isinstance(FileNotFoundError(2, "No such file or directory: '/usr/bin/env'"), SystemExit)
E        +    where FileNotFoundError(2, "No such file or directory: '/usr/bin/env'") = <Result FileNotFoundError(2, "No such file or directory: '/usr/bin/env'")>.exception

zfs_test/replicate_test/cli_test/main_test.py:11: AssertionError
=============================== warnings summary ===============================
/nix/store/6l2gzgn4h8zyrbc051m8xv393s5gxzd9-python3.6-stringcase-1.2.0/lib/python3.6/site-packages/stringcase.py:247
  /nix/store/6l2gzgn4h8zyrbc051m8xv393s5gxzd9-python3.6-stringcase-1.2.0/lib/python3.6/site-packages/stringcase.py:247: DeprecationWarning: invalid escape sequence \W
    return re.sub("\W+", "", string)

-- Docs: https://docs.pytest.org/en/latest/warnings.html
=============== 1 failed, 10 passed, 1 warnings in 2.46 seconds ================

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.