Skip to content
Commits on Source (3)
  • Joerg Jaspert's avatar
    Document that s has a rm subcommand · 07fcfd60
    Joerg Jaspert authored
    07fcfd60
  • Gabriel Francisco's avatar
    Remove few PendingDeprecationWarning from tests · fad1a4ec
    Gabriel Francisco authored and Joerg Jaspert's avatar Joerg Jaspert committed
    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 ====================
    fad1a4ec
  • Joerg Jaspert's avatar
    Stop playing with oldstable-new · b353120b
    Joerg Jaspert authored
    b353120b
......@@ -13,7 +13,7 @@ i18n1 none i18n\ 1 fal
dep11 none dep11\ 1 false true
LOCK UNCHECKED 1200 exclusive false
punew stable-new p-u-new false false
opunew oldstable-new o-p-u-new false false
# opunew oldstable-new o-p-u-new false false
backports_policy none backports-policy false false
cruft none cruft true false
NOSTAGE state\ indices none false false
......
......@@ -22,7 +22,8 @@ function do_report() {
function queuereport() {
log "Creating queue reports, new/backports-new, 822 format"
local queues="new,byhand,stable-new,oldstable-new"
#local queues="new,byhand,stable-new,oldstable-new"
local queues="new,byhand,stable-new"
local bpqueues="backports-new,backports-policy"
local gqueues="${queues},${bpqueues},deferred"
do_report
......
......@@ -4,7 +4,7 @@ LOCK DAILY 600 sha
LOCK UNCHECKED 600 exclusive false
pg_timestamp preunchecked none true false
punew stable-new p-u-new false false
opunew oldstable-new o-p-u-new false false
# opunew oldstable-new o-p-u-new false false
backports_policy none backports-policy false false
cleanpolicy none cleanpolicy false false
fetchqueuedpackages upload-master fetchqueuedpackages false false
......
......@@ -105,6 +105,7 @@ Perform administrative work on the dak database.
add suite SUITE, version VERSION.
label, description, origin, codename
and signingkey are optional.
s rm SUITE remove a suite (will only work if empty)
s add-all-arches SUITE VERSION... as "s add" but adds suite-architecture
relationships for all architectures
......
......@@ -63,7 +63,7 @@ class ParseDscTestCase(ParseChangesTestCase):
def test_9(self):
changes = self.assertParse('dsc/9.dsc', -1, 1)
self.assert_(changes['question'] == 'Is this a bug?')
self.failIf(changes.get('this'))
self.assertFalse(changes.get('this'))
def test_10(self):
changes = self.assertParse('dsc/10.dsc', -1, 1)
......@@ -92,7 +92,7 @@ class ParseChangesTestCase(ParseChangesTestCase):
'changes/%s.changes' % filename,
strict_whitespace,
)
self.failIf(changes.get('you'))
self.assertFalse(changes.get('you'))
if __name__ == '__main__':
unittest.main()