From 59865797ac123312893b362c1e1e921b66a6f2d9 Mon Sep 17 00:00:00 2001 From: Vishnu Ks Date: Tue, 25 Sep 2018 16:12:23 +0530 Subject: [PATCH] billing: Move billing tests from zilencer to corporate. --- corporate/lib/stripe.py | 2 +- corporate/tests/__init__.py | 0 {zilencer => corporate}/tests/stripe_fixtures.json | 0 {zilencer => corporate}/tests/test_stripe.py | 0 tools/test-backend | 4 ++-- 5 files changed, 3 insertions(+), 3 deletions(-) create mode 100644 corporate/tests/__init__.py rename {zilencer => corporate}/tests/stripe_fixtures.json (100%) rename {zilencer => corporate}/tests/test_stripe.py (100%) diff --git a/corporate/lib/stripe.py b/corporate/lib/stripe.py index 426192bc9d..47f3eb3a72 100644 --- a/corporate/lib/stripe.py +++ b/corporate/lib/stripe.py @@ -48,7 +48,7 @@ log_to_file(logging.getLogger('stripe'), BILLING_LOG_PATH) # Then you can run e.g. `M-x mark-whole-buffer` and `M-x indent-region` in emacs # to prettify the file (and make 4 space indents). # * Copy out the customer id, plan id, and quantity values into -# zilencer.tests.test_stripe.StripeTest.setUp. +# corporate.tests.test_stripe.StripeTest.setUp. # * Set PRINT_STRIPE_FIXTURE_DATA to False PRINT_STRIPE_FIXTURE_DATA = False diff --git a/corporate/tests/__init__.py b/corporate/tests/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/zilencer/tests/stripe_fixtures.json b/corporate/tests/stripe_fixtures.json similarity index 100% rename from zilencer/tests/stripe_fixtures.json rename to corporate/tests/stripe_fixtures.json diff --git a/zilencer/tests/test_stripe.py b/corporate/tests/test_stripe.py similarity index 100% rename from zilencer/tests/test_stripe.py rename to corporate/tests/test_stripe.py diff --git a/tools/test-backend b/tools/test-backend index aa7806527e..a954c215bd 100755 --- a/tools/test-backend +++ b/tools/test-backend @@ -33,7 +33,7 @@ target_fully_covered = {path for target in [ # Test files should have 100% coverage; test code that isn't run # is likely a bug in the test. 'zerver/tests/*.py', - 'zilencer/tests/*.py', + 'corporate/tests/*.py', # As a project, we require 100% test coverage in the views files. 'zerver/views/*.py', 'zproject/backends.py', @@ -320,7 +320,7 @@ if __name__ == "__main__": "zerver.tests", "zerver.webhooks", "analytics.tests", - "zilencer.tests", + "corporate.tests", ] else: suites = args