commit a1278e2253f8cce462c008a400c603bb114f3d34 Merge: 2a0110c f8d646e Author: Damian Johnson atagar@torproject.org Date: Tue May 26 09:54:14 2015 -0700
Test against tutorial examples
Now that our tutorial eamples live in their own files we can invoke those rather than duplicating the code in our tests. Both cleaner and less error prone - yay!
https://trac.torproject.org/projects/tor/ticket/16191
docs/_static/example/client_usage_using_pycurl.py | 8 +- docs/_static/example/compare_flags.py | 10 +- docs/_static/example/current_descriptors.py | 4 +- docs/_static/example/custom_path_selection.py | 4 +- .../example/descriptor_from_tor_control_socket.py | 2 +- .../example/descriptor_from_tor_data_directory.py | 2 +- docs/_static/example/ephemeral_hidden_services.py | 8 +- docs/_static/example/exit_used.py | 16 +-- .../example/get_hidden_service_descriptor.py | 2 +- docs/_static/example/hello_world.py | 2 +- docs/_static/example/introduction_points.py | 4 +- docs/_static/example/list_circuits.py | 6 +- docs/_static/example/outdated_relays.py | 10 +- docs/_static/example/past_descriptors.py | 2 +- .../persisting_a_consensus_with_parse_file.py | 2 +- docs/_static/example/read_with_parse_file.py | 2 +- docs/_static/example/reading_twitter.py | 8 +- docs/_static/example/running_hidden_service.py | 10 +- docs/_static/example/tor_descriptors.py | 4 +- docs/_static/example/utilities.py | 14 +- .../_static/example/validate_descriptor_content.py | 2 +- .../example/votes_by_bandwidth_authorities.py | 6 +- test/unit/tutorial.py | 52 ++----- test/unit/tutorial_examples.py | 151 ++------------------ 24 files changed, 88 insertions(+), 243 deletions(-)
tor-commits@lists.torproject.org