From 426bf2ff7a2e15c53a354bcc17d502955b5040b3 Mon Sep 17 00:00:00 2001 From: andrey-canon Date: Wed, 5 Jul 2023 16:34:45 -0500 Subject: [PATCH] Revert "feat: positive logic to the stats view" This reverts commit d9090a88b16aa17a5db9b3e94a73088b9506b144. --- eox_nelp/stats/templates/tenant_stats.html | 10 ++++----- eox_nelp/stats/tests/test_views.py | 12 +++++----- eox_nelp/stats/urls.py | 2 +- eox_nelp/stats/views.py | 26 +++++++++++----------- eox_nelp/urls.py | 2 +- 5 files changed, 26 insertions(+), 26 deletions(-) diff --git a/eox_nelp/stats/templates/tenant_stats.html b/eox_nelp/stats/templates/tenant_stats.html index 486c5427..33b13edf 100644 --- a/eox_nelp/stats/templates/tenant_stats.html +++ b/eox_nelp/stats/templates/tenant_stats.html @@ -8,11 +8,11 @@
diff --git a/eox_nelp/stats/tests/test_views.py b/eox_nelp/stats/tests/test_views.py index b8773fbe..7ce71b29 100644 --- a/eox_nelp/stats/tests/test_views.py +++ b/eox_nelp/stats/tests/test_views.py @@ -29,7 +29,7 @@ def test_get_default_stats(self): - template name is as expected. - tenant-stats div exist """ - url_endpoint = reverse("stats-frontend:tenant") + url_endpoint = reverse("stats:tenant") response = self.client.get(url_endpoint) @@ -37,8 +37,8 @@ def test_get_default_stats(self): self.assertEqual(self.template_name, response.templates[0].name) self.assertContains(response, '