• Gabriel Francisco's avatar
    Remove few PendingDeprecationWarning from tests · 99cd46c6
    Gabriel Francisco authored
    when building in Buster.
    
    ============================= test session starts ==============================
    platform linux2 -- Python 2.7.16rc1, pytest-3.10.1, py-1.7.0, pluggy-0.8.0 -- /usr/bin/python2
    cachedir: .pytest_cache
    rootdir: /srv/dak, inifile:
    collecting ... collected 166 items
    
    [...]
    
    =============================== warnings summary ===============================
    tests/test_parse_changes.py::ParseChangesTestCase::test_3
      /srv/dak/tests/test_parse_changes.py:95: PendingDeprecationWarning: Please use assertFalse instead.
        self.failIf(changes.get('you'))
      /srv/dak/tests/test_parse_changes.py:95: PendingDeprecationWarning: Please use assertFalse instead.
        self.failIf(changes.get('you'))
      /srv/dak/tests/test_parse_changes.py:95: PendingDeprecationWarning: Please use assertFalse instead.
        self.failIf(changes.get('you'))
    
    tests/test_parse_changes.py::ParseDscTestCase::test_9
      /srv/dak/tests/test_parse_changes.py:66: PendingDeprecationWarning: Please use assertFalse instead.
        self.failIf(changes.get('this'))
    
    -- Docs: https://docs.pytest.org/en/latest/warnings.html
    =================== 166 passed, 4 warnings in 19.14 seconds ====================
    99cd46c6
Name
Last commit
Last update
alembic Loading commit data...
config Loading commit data...
dak Loading commit data...
daklib Loading commit data...
dakweb Loading commit data...
debian Loading commit data...
docs Loading commit data...
integration-tests Loading commit data...
scripts Loading commit data...
setup Loading commit data...
templates Loading commit data...
tests Loading commit data...
tools Loading commit data...
.coveragerc Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
.nobackup Loading commit data...
COPYING Loading commit data...
README.coding Loading commit data...
README.md Loading commit data...
alembic.ini Loading commit data...
setup.cfg Loading commit data...