#2129 closed defect (invalid)

"bin/tahoe debug trial" runs installed code somewhere other than modified source files in src/

Reported by: amiller Owned by: amiller
Priority: normal Milestone: 1.12.0
Component: code-frontend-cli Version: 1.10.0
Keywords: trial packaging test setuptools Cc: amontero
Launchpad Bug:

Description (last modified by amiller)

To reproduce:

modify src/allmydata/test/test_client.py with sentinel code "print 'Ticket 2129!'" ./bin/tahoe debug trial allmydata.test.test_client

The sentinel code is not executed.

On the other hand, if I then run python setup.py install, then the sentinel code IS executed.

Details:

Python version: 2.7.4

Change History (8)

comment:1 Changed at 2013-12-05T16:42:41Z by amiller

  • Description modified (diff)

comment:2 Changed at 2013-12-05T22:47:54Z by daira

(After editing test_client.py again:) Please paste the results of:

bin/tahoe --version-and-path
bin/tahoe @python -c "import allmydata.test.test_client; print test_client"
Last edited at 2013-12-05T22:48:49Z by daira (previous) (diff)

comment:3 Changed at 2013-12-06T15:02:19Z by daira

  • Owner changed from daira to amiller

comment:4 Changed at 2013-12-06T15:05:53Z by daira

  • Component changed from unknown to code-frontend-cli
  • Keywords trial packaging test setuptools added

comment:5 Changed at 2013-12-06T15:07:56Z by daira

  • Summary changed from "bin/tahoe debug trial" uses installed files somewhere rather than source trials to "bin/tahoe debug trial" runs installed code somewhere other than modified source files in src/

comment:7 Changed at 2013-12-14T18:05:48Z by daira

  • Cc amontero added

amontero: commenting doesn't subscribe to a ticket. You're now added to the cc: field.

comment:8 Changed at 2016-09-09T22:18:00Z by warner

  • Milestone changed from undecided to 1.12.0
  • Resolution set to invalid
  • Status changed from new to closed

We've moved to tox as the recommended "One True Way" to run the test suite, so I think we can close this as INVALID. I'm about to remove bin/tahoe debug trial anyways (as part of #2735).

Note: See TracTickets for help on using tickets.