Skip to content
Permalink
Browse files

Move all unit-tests from test/ directory to tests/ directory.

  • Loading branch information...
bdferris committed Oct 3, 2014
1 parent bbdb57a commit 4c8086fb838d171cb8a4882496ae81fad4dfd24e
Showing 342 changed files with 35 additions and 35 deletions.
@@ -17,5 +17,5 @@ python setup.py install
If you don't want to install you may be able to run the scripts from this
directory. For example, try running

./feedvalidator.py -n test/data/good_feed.zip
./feedvalidator.py -n tests/data/good_feed.zip

@@ -2,7 +2,7 @@ include INSTALL
include COPYING
include README
include gtfsscheduleviewer/files/*
recursive-include test *
recursive-include tests *
recursive-include examples *
recursive-include extensions *
recursive-exclude . *.pyc
@@ -603,9 +603,9 @@ def RunValidation(feed, options, problems):
# Start validation: children are already validated by the loader.
schedule.Validate(service_gap_interval=options.service_gap_interval,
validate_children=False)

if feed == 'IWantMyvalidation-crash.txt':
# See test/testfeedvalidator.py
# See tests/testfeedvalidator.py
raise Exception('For testing the feed validator crash handler.')

accumulator = problems.GetAccumulator()
@@ -1791,7 +1791,7 @@ def main():
merged_feed_path = os.path.abspath(args[2])

if old_feed_path.find("IWantMyCrash") != -1:
# See test/testmerge.py
# See tests/testmerge.py
raise Exception('For testing the merge crash handler.')

a_schedule = LoadWithoutErrors(old_feed_path, options.memory_db)
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.