#31317 closed defect (fixed)

Stop reading ~/.torrc during stem's test_hush_argument

Reported by: teor Owned by: atagar
Priority: Medium Milestone:
Component: Archived/Stem Version:
Severity: Normal Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description (last modified by teor)

In #30102, we put random data in ~/.torrc, which breaks stem's test_hush_argument test.

FAIL: test_hush_argument
Traceback (most recent call last):
  File "/home/travis/build/torproject/tor/stem/stem/util/test_tools.py", line 152, in <lambda>
    self.method = lambda test: self.result(test)  # method that can be mixed into TestCases
  File "/home/travis/build/torproject/tor/stem/stem/util/test_tools.py", line 225, in result
AssertionError: Expected '[warn] Failed to parse/validate config: Unknown option 'invalid_argument'.  Failing.' to be within 'Aug 01 20:10:11.551 [warn] Failed to parse/validate config: Unknown option '����QT��
���\��ޠ@qw�F��0v��$5�EJ��hܱd�FӺTm��Oo'.  Failing.
Aug 01 20:10:11.562 [err] Reading config failed--see warnings above.


Child Tickets

Change History (2)

comment:1 Changed 15 months ago by teor

Component: - Select a componentCore Tor/Stem
Description: modified (diff)
Owner: set to atagar

comment:2 Changed 14 months ago by atagar

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.