Use Python 2.7 unittest syntax in our unittests
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 23 Jan 2013 07:12:44 +0000 (07:12 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 23 Jan 2013 07:12:44 +0000 (07:12 +0000)
commit88dd120aba34e49fa49acdd449bd6914d605d870
tree59383579a3e272b059ee6e845ef9deaa053c82bc
parent4bfbcc104131352e0741f88edc08690f8164fc80
Use Python 2.7 unittest syntax in our unittests
https://bugs.webkit.org/show_bug.cgi?id=105607

Patch by Tim 'mithro' Ansell <mithro@mithis.com> on 2013-01-22
Reviewed by Eric Seidel.

* Scripts/webkitpy/**/*_unittest.py:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140510 268f45cc-cd09-0410-ab3c-d52691b4dbfc
165 files changed:
Tools/ChangeLog
Tools/Scripts/webkitpy/common/checkout/baselineoptimizer_unittest.py
Tools/Scripts/webkitpy/common/checkout/changelog_unittest.py
Tools/Scripts/webkitpy/common/checkout/checkout_unittest.py
Tools/Scripts/webkitpy/common/checkout/commitinfo_unittest.py
Tools/Scripts/webkitpy/common/checkout/scm/detection_unittest.py
Tools/Scripts/webkitpy/common/config/build_unittest.py
Tools/Scripts/webkitpy/common/config/committers_unittest.py
Tools/Scripts/webkitpy/common/config/committervalidator_unittest.py
Tools/Scripts/webkitpy/common/config/contributionareas_unittest.py
Tools/Scripts/webkitpy/common/config/ports_unittest.py
Tools/Scripts/webkitpy/common/config/urls_unittest.py
Tools/Scripts/webkitpy/common/editdistance_unittest.py
Tools/Scripts/webkitpy/common/find_files_unittest.py
Tools/Scripts/webkitpy/common/lru_cache_unittest.py
Tools/Scripts/webkitpy/common/memoized_unittest.py
Tools/Scripts/webkitpy/common/net/bugzilla/bug_unittest.py
Tools/Scripts/webkitpy/common/net/bugzilla/bugzilla_unittest.py
Tools/Scripts/webkitpy/common/net/buildbot/buildbot_unittest.py
Tools/Scripts/webkitpy/common/net/credentials_unittest.py
Tools/Scripts/webkitpy/common/net/failuremap_unittest.py
Tools/Scripts/webkitpy/common/net/htdigestparser_unittest.py
Tools/Scripts/webkitpy/common/net/irc/ircproxy_unittest.py
Tools/Scripts/webkitpy/common/net/layouttestresults_unittest.py
Tools/Scripts/webkitpy/common/net/networktransaction_unittest.py
Tools/Scripts/webkitpy/common/net/omahaproxy_unittest.py
Tools/Scripts/webkitpy/common/net/resultsjsonparser_unittest.py
Tools/Scripts/webkitpy/common/net/statusserver_unittest.py
Tools/Scripts/webkitpy/common/net/unittestresults_unittest.py
Tools/Scripts/webkitpy/common/newstringio_unittest.py
Tools/Scripts/webkitpy/common/prettypatch_unittest.py
Tools/Scripts/webkitpy/common/read_checksum_from_png_unittest.py
Tools/Scripts/webkitpy/common/system/crashlogs_unittest.py
Tools/Scripts/webkitpy/common/system/environment_unittest.py
Tools/Scripts/webkitpy/common/system/executive_unittest.py
Tools/Scripts/webkitpy/common/system/file_lock_integrationtest.py
Tools/Scripts/webkitpy/common/system/filesystem_mock_unittest.py
Tools/Scripts/webkitpy/common/system/filesystem_unittest.py
Tools/Scripts/webkitpy/common/system/logtesting.py
Tools/Scripts/webkitpy/common/system/logutils_unittest.py
Tools/Scripts/webkitpy/common/system/outputcapture_unittest.py
Tools/Scripts/webkitpy/common/system/outputtee_unittest.py
Tools/Scripts/webkitpy/common/system/path_unittest.py
Tools/Scripts/webkitpy/common/system/platforminfo_unittest.py
Tools/Scripts/webkitpy/common/system/profiler_unittest.py
Tools/Scripts/webkitpy/common/system/stack_utils_unittest.py
Tools/Scripts/webkitpy/common/system/user_unittest.py
Tools/Scripts/webkitpy/common/system/workspace_unittest.py
Tools/Scripts/webkitpy/common/system/zipfileset_unittest.py
Tools/Scripts/webkitpy/common/thread/messagepump_unittest.py
Tools/Scripts/webkitpy/common/thread/threadedmessagequeue_unittest.py
Tools/Scripts/webkitpy/common/watchlist/amountchangedpattern_unittest.py
Tools/Scripts/webkitpy/common/watchlist/changedlinepattern_unittest.py
Tools/Scripts/webkitpy/common/watchlist/filenamepattern_unittest.py
Tools/Scripts/webkitpy/common/watchlist/watchlist_unittest.py
Tools/Scripts/webkitpy/common/watchlist/watchlistrule_unittest.py
Tools/Scripts/webkitpy/common/webkitunittest.py
Tools/Scripts/webkitpy/layout_tests/controllers/layout_test_runner_unittest.py
Tools/Scripts/webkitpy/layout_tests/controllers/manager_unittest.py
Tools/Scripts/webkitpy/layout_tests/controllers/test_result_writer_unittest.py
Tools/Scripts/webkitpy/layout_tests/layout_package/json_results_generator_unittest.py
Tools/Scripts/webkitpy/layout_tests/lint_test_expectations_unittest.py
Tools/Scripts/webkitpy/layout_tests/models/test_configuration_unittest.py
Tools/Scripts/webkitpy/layout_tests/models/test_expectations_unittest.py
Tools/Scripts/webkitpy/layout_tests/models/test_failures_unittest.py
Tools/Scripts/webkitpy/layout_tests/models/test_results_unittest.py
Tools/Scripts/webkitpy/layout_tests/models/test_run_results_unittest.py
Tools/Scripts/webkitpy/layout_tests/port/base_unittest.py
Tools/Scripts/webkitpy/layout_tests/port/builders_unittest.py
Tools/Scripts/webkitpy/layout_tests/port/chromium_android_unittest.py
Tools/Scripts/webkitpy/layout_tests/port/chromium_linux_unittest.py
Tools/Scripts/webkitpy/layout_tests/port/chromium_mac_unittest.py
Tools/Scripts/webkitpy/layout_tests/port/chromium_port_testcase.py
Tools/Scripts/webkitpy/layout_tests/port/chromium_unittest.py
Tools/Scripts/webkitpy/layout_tests/port/chromium_win_unittest.py
Tools/Scripts/webkitpy/layout_tests/port/config_standalone.py
Tools/Scripts/webkitpy/layout_tests/port/config_unittest.py
Tools/Scripts/webkitpy/layout_tests/port/driver_unittest.py
Tools/Scripts/webkitpy/layout_tests/port/efl_unittest.py
Tools/Scripts/webkitpy/layout_tests/port/factory_unittest.py
Tools/Scripts/webkitpy/layout_tests/port/gtk_unittest.py
Tools/Scripts/webkitpy/layout_tests/port/http_lock_unittest.py
Tools/Scripts/webkitpy/layout_tests/port/image_diff_unittest.py
Tools/Scripts/webkitpy/layout_tests/port/leakdetector_unittest.py
Tools/Scripts/webkitpy/layout_tests/port/mac_unittest.py
Tools/Scripts/webkitpy/layout_tests/port/mock_drt_unittest.py
Tools/Scripts/webkitpy/layout_tests/port/port_testcase.py
Tools/Scripts/webkitpy/layout_tests/port/qt_unittest.py
Tools/Scripts/webkitpy/layout_tests/port/server_process_unittest.py
Tools/Scripts/webkitpy/layout_tests/port/win_unittest.py
Tools/Scripts/webkitpy/layout_tests/port/xvfbdriver_unittest.py
Tools/Scripts/webkitpy/layout_tests/reftests/extract_reference_link_unittest.py
Tools/Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py
Tools/Scripts/webkitpy/layout_tests/servers/apache_http_server_unittest.py
Tools/Scripts/webkitpy/layout_tests/servers/http_server_integrationtest.py
Tools/Scripts/webkitpy/layout_tests/servers/http_server_unittest.py
Tools/Scripts/webkitpy/layout_tests/views/buildbot_results_unittest.py
Tools/Scripts/webkitpy/layout_tests/views/metered_stream_unittest.py
Tools/Scripts/webkitpy/layout_tests/views/printing_unittest.py
Tools/Scripts/webkitpy/performance_tests/perftest_unittest.py
Tools/Scripts/webkitpy/performance_tests/perftestsrunner_integrationtest.py
Tools/Scripts/webkitpy/performance_tests/perftestsrunner_unittest.py
Tools/Scripts/webkitpy/style/checker_unittest.py
Tools/Scripts/webkitpy/style/checkers/changelog_unittest.py
Tools/Scripts/webkitpy/style/checkers/cmake_unittest.py
Tools/Scripts/webkitpy/style/checkers/common_unittest.py
Tools/Scripts/webkitpy/style/checkers/cpp_unittest.py
Tools/Scripts/webkitpy/style/checkers/jsonchecker_unittest.py
Tools/Scripts/webkitpy/style/checkers/png_unittest.py
Tools/Scripts/webkitpy/style/checkers/python_unittest.py
Tools/Scripts/webkitpy/style/checkers/test_expectations_unittest.py
Tools/Scripts/webkitpy/style/checkers/text_unittest.py
Tools/Scripts/webkitpy/style/checkers/watchlist_unittest.py
Tools/Scripts/webkitpy/style/checkers/xcodeproj_unittest.py
Tools/Scripts/webkitpy/style/checkers/xml_unittest.py
Tools/Scripts/webkitpy/style/error_handlers_unittest.py
Tools/Scripts/webkitpy/style/filereader_unittest.py
Tools/Scripts/webkitpy/style/filter_unittest.py
Tools/Scripts/webkitpy/style/main_unittest.py
Tools/Scripts/webkitpy/style/optparser_unittest.py
Tools/Scripts/webkitpy/style/patchreader_unittest.py
Tools/Scripts/webkitpy/test/finder_unittest.py
Tools/Scripts/webkitpy/test/main_unittest.py
Tools/Scripts/webkitpy/test/runner_unittest.py
Tools/Scripts/webkitpy/test/skip_unittest.py
Tools/Scripts/webkitpy/thirdparty/__init___unittest.py
Tools/Scripts/webkitpy/to_be_moved/update_webgl_conformance_tests_unittest.py
Tools/Scripts/webkitpy/tool/bot/botinfo_unittest.py
Tools/Scripts/webkitpy/tool/bot/commitqueuetask_unittest.py
Tools/Scripts/webkitpy/tool/bot/expectedfailures_unittest.py
Tools/Scripts/webkitpy/tool/bot/feeders_unittest.py
Tools/Scripts/webkitpy/tool/bot/flakytestreporter_unittest.py
Tools/Scripts/webkitpy/tool/bot/irc_command_unittest.py
Tools/Scripts/webkitpy/tool/bot/ircbot_unittest.py
Tools/Scripts/webkitpy/tool/bot/layouttestresultsreader_unittest.py
Tools/Scripts/webkitpy/tool/bot/queueengine_unittest.py
Tools/Scripts/webkitpy/tool/bot/sheriff_unittest.py
Tools/Scripts/webkitpy/tool/commands/download_unittest.py
Tools/Scripts/webkitpy/tool/commands/earlywarningsystem_unittest.py
Tools/Scripts/webkitpy/tool/commands/perfalizer_unittest.py
Tools/Scripts/webkitpy/tool/commands/queries_unittest.py
Tools/Scripts/webkitpy/tool/commands/queues_unittest.py
Tools/Scripts/webkitpy/tool/commands/queuestest.py
Tools/Scripts/webkitpy/tool/commands/rebaseline_unittest.py
Tools/Scripts/webkitpy/tool/commands/roll_unittest.py
Tools/Scripts/webkitpy/tool/grammar_unittest.py
Tools/Scripts/webkitpy/tool/mocktool_unittest.py
Tools/Scripts/webkitpy/tool/multicommandtool_unittest.py
Tools/Scripts/webkitpy/tool/servers/gardeningserver_unittest.py
Tools/Scripts/webkitpy/tool/servers/rebaselineserver_unittest.py
Tools/Scripts/webkitpy/tool/servers/reflectionhandler_unittest.py
Tools/Scripts/webkitpy/tool/steps/addsvnmimetypeforpng_unittest.py
Tools/Scripts/webkitpy/tool/steps/applywatchlist_unittest.py
Tools/Scripts/webkitpy/tool/steps/cleanworkingdirectory_unittest.py
Tools/Scripts/webkitpy/tool/steps/closebugforlanddiff_unittest.py
Tools/Scripts/webkitpy/tool/steps/commit_unittest.py
Tools/Scripts/webkitpy/tool/steps/discardlocalchanges_unittest.py
Tools/Scripts/webkitpy/tool/steps/preparechangelog_unittest.py
Tools/Scripts/webkitpy/tool/steps/preparechangelogforrevert_unittest.py
Tools/Scripts/webkitpy/tool/steps/runtests_unittest.py
Tools/Scripts/webkitpy/tool/steps/steps_unittest.py
Tools/Scripts/webkitpy/tool/steps/suggestreviewers_unittest.py
Tools/Scripts/webkitpy/tool/steps/update_unittest.py
Tools/Scripts/webkitpy/tool/steps/updatechangelogswithreview_unittest.py
Tools/Scripts/webkitpy/tool/steps/validatechangelogs_unittest.py