<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/sebastian/stem, branch fix_resolvers</title>
<subtitle>Sebastian's stem repository</subtitle>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/sebastian/stem.git/'/>
<entry>
<title>Fix system resolved test on platforms without proc</title>
<updated>2015-02-09T20:01:26+00:00</updated>
<author>
<name>Sebastian Hahn</name>
<email>sebastian@torproject.org</email>
</author>
<published>2015-02-09T19:59:50+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/sebastian/stem.git/commit/?id=9d644f4c18e8ec7a43591fdc2a8a140fad44571a'/>
<id>9d644f4c18e8ec7a43591fdc2a8a140fad44571a</id>
<content type='text'>
This was broken when a hack was introduced for Gentoo in commit
500fd38a7d09e883257d84dd67bc7014f4f47085.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This was broken when a hack was introduced for Gentoo in commit
500fd38a7d09e883257d84dd67bc7014f4f47085.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix a doc typo</title>
<updated>2015-02-09T20:01:26+00:00</updated>
<author>
<name>Sebastian Hahn</name>
<email>sebastian@torproject.org</email>
</author>
<published>2015-02-09T19:32:13+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/sebastian/stem.git/commit/?id=337c27ca707fc3087cb061c32b9832279040a6fb'/>
<id>337c27ca707fc3087cb061c32b9832279040a6fb</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Our ONLINE target could fail with an undefined 'streams'</title>
<updated>2015-02-09T17:07:08+00:00</updated>
<author>
<name>Damian Johnson</name>
<email>atagar@torproject.org</email>
</author>
<published>2015-02-09T17:07:08+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/sebastian/stem.git/commit/?id=6069f40bcb5114265345dd74fb312d9af46ee8a3'/>
<id>6069f40bcb5114265345dd74fb312d9af46ee8a3</id>
<content type='text'>
Doesn't make the test pass, but was masking the actual issue which is
"SocksError: [6] TTL expired".

======================================================================
ERROR: test_attachstream
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/atagar/Desktop/stem/test/integ/control/controller.py", line 1206, in test_attachstream
    our_stream = [stream for stream in streams if stream.target_address == host][0]
UnboundLocalError: local variable 'streams' referenced before assignment
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Doesn't make the test pass, but was masking the actual issue which is
"SocksError: [6] TTL expired".

======================================================================
ERROR: test_attachstream
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/atagar/Desktop/stem/test/integ/control/controller.py", line 1206, in test_attachstream
    our_stream = [stream for stream in streams if stream.target_address == host][0]
UnboundLocalError: local variable 'streams' referenced before assignment
</pre>
</div>
</content>
</entry>
<entry>
<title>Better argument handling for run_tests.py</title>
<updated>2015-02-09T16:50:45+00:00</updated>
<author>
<name>Damian Johnson</name>
<email>atagar@torproject.org</email>
</author>
<published>2015-02-09T16:50:40+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/sebastian/stem.git/commit/?id=f36f81bb5c90c6f8a06f22f755e00ababe7407b8'/>
<id>f36f81bb5c90c6f8a06f22f755e00ababe7407b8</id>
<content type='text'>
Balking if provided with unrecognized arguments, and more intuitive handling
for targets...

  https://trac.torproject.org/projects/tor/ticket/14804
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Balking if provided with unrecognized arguments, and more intuitive handling
for targets...

  https://trac.torproject.org/projects/tor/ticket/14804
</pre>
</div>
</content>
</entry>
<entry>
<title>Rather than error, keep the default target when none are provided</title>
<updated>2015-02-09T16:37:54+00:00</updated>
<author>
<name>Damian Johnson</name>
<email>atagar@torproject.org</email>
</author>
<published>2015-02-09T16:37:54+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/sebastian/stem.git/commit/?id=c9dcc48de7222f8e1819fdef4e324ac7d9176839'/>
<id>c9dcc48de7222f8e1819fdef4e324ac7d9176839</id>
<content type='text'>
Actually, on reflection if the user only provides attribute targets (ex.
'--target ONLINE') there's no point in erroring. They clearly want to keep the
default.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Actually, on reflection if the user only provides attribute targets (ex.
'--target ONLINE') there's no point in erroring. They clearly want to keep the
default.
</pre>
</div>
</content>
</entry>
<entry>
<title>Warn if user doesn't provide any runnable integ targets</title>
<updated>2015-02-09T16:30:20+00:00</updated>
<author>
<name>Damian Johnson</name>
<email>atagar@torproject.org</email>
</author>
<published>2015-02-09T16:30:20+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/sebastian/stem.git/commit/?id=b9d66c4dfb0e50466872208c7f8bb22600eb8c06'/>
<id>b9d66c4dfb0e50466872208c7f8bb22600eb8c06</id>
<content type='text'>
Sebastian was understandably confused on ticket 14804 when running '--target
ONLINE' didn't run anything.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Sebastian was understandably confused on ticket 14804 when running '--target
ONLINE' didn't run anything.
</pre>
</div>
</content>
</entry>
<entry>
<title>Balk if an unrecognized argument is provided</title>
<updated>2015-02-09T16:26:22+00:00</updated>
<author>
<name>Damian Johnson</name>
<email>atagar@torproject.org</email>
</author>
<published>2015-02-09T16:18:22+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/sebastian/stem.git/commit/?id=7753976dc7477a86fa8bc923292af3a09da7d660'/>
<id>7753976dc7477a86fa8bc923292af3a09da7d660</id>
<content type='text'>
Interesting, thought getopt did this. For both run_tests.py and the tor-prompt
providing an error when unrecognized arguments are provided. Caught by
Sebastian on...

  https://trac.torproject.org/projects/tor/ticket/14804
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Interesting, thought getopt did this. For both run_tests.py and the tor-prompt
providing an error when unrecognized arguments are provided. Caught by
Sebastian on...

  https://trac.torproject.org/projects/tor/ticket/14804
</pre>
</div>
</content>
</entry>
<entry>
<title>The run_tests.py's -t argument aliased to two things</title>
<updated>2015-02-09T16:01:11+00:00</updated>
<author>
<name>Damian Johnson</name>
<email>atagar@torproject.org</email>
</author>
<published>2015-02-09T16:01:11+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/sebastian/stem.git/commit/?id=34a900b5affc967f6d9717e527d32ad63a56d1c9'/>
<id>34a900b5affc967f6d9717e527d32ad63a56d1c9</id>
<content type='text'>
The '-t' argument was an alias for '--target' and '--test'. In practice and
according to the help output it was actually just the former. This souldn't
actually change anything, just clarifying the code. Found as part of...

  https://trac.torproject.org/projects/tor/ticket/14804
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The '-t' argument was an alias for '--target' and '--test'. In practice and
according to the help output it was actually just the former. This souldn't
actually change anything, just clarifying the code. Found as part of...

  https://trac.torproject.org/projects/tor/ticket/14804
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't run test for 'tor --version' when using the RUN_NONE target</title>
<updated>2015-02-09T15:58:31+00:00</updated>
<author>
<name>Damian Johnson</name>
<email>atagar@torproject.org</email>
</author>
<published>2015-02-09T15:58:31+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/sebastian/stem.git/commit/?id=ba47de68650c0d9f6735ad8b463b2148e268f6d2'/>
<id>ba47de68650c0d9f6735ad8b463b2148e268f6d2</id>
<content type='text'>
This test compares the output to 'GETINFO version' so being unable to connect
to tor breaks the test.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This test compares the output to 'GETINFO version' so being unable to connect
to tor breaks the test.
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't hardcode /tmp/foo as a test path</title>
<updated>2015-02-09T15:53:12+00:00</updated>
<author>
<name>Damian Johnson</name>
<email>atagar@torproject.org</email>
</author>
<published>2015-02-09T15:53:12+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/sebastian/stem.git/commit/?id=2644ec5ab18ae24d4bc0480c98444483dccc7ab9'/>
<id>2644ec5ab18ae24d4bc0480c98444483dccc7ab9</id>
<content type='text'>
Turns out I make foo test paths a lot. Running 'mkdir /tmp/foo' for something
else broke the unit tests for me. Easy enough to do the proper thing and pick a
random unused path.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Turns out I make foo test paths a lot. Running 'mkdir /tmp/foo' for something
else broke the unit tests for me. Easy enough to do the proper thing and pick a
random unused path.
</pre>
</div>
</content>
</entry>
</feed>
