Skip to content

paste tests failing against paste 3.5.0 #179

Description

@risicle

In preparing the NixOS package for 3.9.1, we noticed the test_fail test failed. This is when run against paste 3.5.0 on x86_64 linux with python 3.8 or 3.9.

__________________________________ test_fail ___________________________________

    def test_fail():
        setup()
        assert not runapp(fail=True, use_transaction=True)
        assert names() == []
        setup()
        assert not runapp(fail=True, use_transaction=False)
        assert names() == ['app1', 'app2']
        setup()
        assert not runapp(fail=True, begin=True, use_transaction=True)
>       assert names() == ['app1']
E       AssertionError: assert ['app1', 'app2'] == ['app1']
E         Left contains one more item: 'app2'
E         Use -v to get the full diff

sqlobject/tests/test_paste.py:75: AssertionError

It seems as though the transaction is failing to be rolled back when the assertion failure at

causes execution to fall out of the app.

Full build log available at https://hydra.nixos.org/log/mbdj9hkzf2ixqjlqfixskhvss838jpvf-python3.8-SQLObject-3.9.1.drv

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions