From 4bbc3aa37a135587000e77585f275a6262a15346 Mon Sep 17 00:00:00 2001 From: John Eskew Date: Wed, 6 Dec 2017 15:07:51 -0500 Subject: [PATCH] Turn on deprecation warnings post-Django 1.11 for bokchoy tests. --- pavelib/paver_tests/test_paver_bok_choy_cmds.py | 1 + pavelib/utils/test/suites/bokchoy_suite.py | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/pavelib/paver_tests/test_paver_bok_choy_cmds.py b/pavelib/paver_tests/test_paver_bok_choy_cmds.py index 6eaf0a7ef1..6de264b719 100644 --- a/pavelib/paver_tests/test_paver_bok_choy_cmds.py +++ b/pavelib/paver_tests/test_paver_bok_choy_cmds.py @@ -41,6 +41,7 @@ class TestPaverBokChoyCmd(unittest.TestCase): "SELENIUM_DRIVER_LOG_DIR='{}/test_root/log{}'".format(REPO_DIR, shard_str), "VERIFY_XSS='{}'".format(verify_xss), "python", + "-Wd", "-m", "pytest", "{}/common/test/acceptance/{}".format(REPO_DIR, name), diff --git a/pavelib/utils/test/suites/bokchoy_suite.py b/pavelib/utils/test/suites/bokchoy_suite.py index 6dbe2ecb43..9b73a67a24 100644 --- a/pavelib/utils/test/suites/bokchoy_suite.py +++ b/pavelib/utils/test/suites/bokchoy_suite.py @@ -341,7 +341,8 @@ class BokChoyTestSuite(TestSuite): cmd.append("--rcfile={}".format(self.coveragerc)) else: cmd += [ - "python" + "python", + "-Wd", ] cmd += [ "-m",