#2967 closed defect (fixed)

allmydata.test.cli.test_create_alias.CreateAlias.test_create is broken

Reported by: exarkun Owned by: exarkun
Priority: normal Milestone: undecided
Component: dev-infrastructure Version: 1.12.1
Keywords: Cc:
Launchpad Bug:

Description

This test fails to return its Deferred so it never really runs. If the test is "fixed" to return the Deferred, it fails.

===============================================================================
[ERROR]
Traceback (most recent call last):
  File "/home/exarkun/Work/LeastAuthority/python/tahoe-lafs/src/allmydata/test/cli/test_create_alias.py", line 87, in _test_urls
    self._test_webopen([], self.welcome_url)
  File "/home/exarkun/Work/LeastAuthority/python/tahoe-lafs/src/allmydata/test/cli/test_create_alias.py", line 20, in _test_webopen
    rc = cli.webopen(o, urls.append)
  File "/home/exarkun/Work/LeastAuthority/python/tahoe-lafs/src/allmydata/scripts/cli.py", line 554, in webopen
    rc = tahoe_webopen.webopen(options, opener=opener)
  File "/home/exarkun/Work/LeastAuthority/python/tahoe-lafs/src/allmydata/scripts/tahoe_webopen.py", line 7, in webopen
    nodeurl = options['node-url']
exceptions.KeyError: 'node-url'

allmydata.test.cli.test_create_alias.CreateAlias.test_create
-------------------------------------------------------------------------------

Change History (2)

comment:1 Changed at 2019-01-31T00:36:41Z by exarkun

  • Owner set to exarkun
  • Status changed from new to assigned

comment:2 Changed at 2019-01-31T13:16:43Z by GitHub <noreply@…>

  • Resolution set to fixed
  • Status changed from assigned to closed

In baa0a46/trunk:

Merge pull request #544 from tahoe-lafs/2967.alias-test_create

Fix CreateAlias?.test_create

This test didn't previously run completely due to a bug in the test itself.

Fixes: ticket:2967

Note: See TracTickets for help on using tickets.