1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-11-11 12:46:49 +00:00

test: remove code no test run executes

- 25 vrtManager test modules configured settings themselves when Django
  had none (MAC_OUI, and in test_network_ip a fake django module): under
  manage.py test settings are always configured, so it never ran.
- webvirtcloud/tests/test_common_tags.py tested no tag: it fetched an
  unknown URL, as test_error_pages and test_logging already do.
- .gitignore covers the parallel runs' test_db_N.sqlite3 files too.
This commit is contained in:
catborise 2026-11-06 11:18:11 +03:00
parent 03811cc4ab
commit 42ab293dc5
27 changed files with 1 additions and 139 deletions

View file

@ -7,11 +7,6 @@ import unittest
from types import SimpleNamespace
from unittest.mock import patch
from django.conf import settings
if not settings.configured:
settings.configure(MAC_OUI="52:54:10")
from vrtManager.instance import USAGE_MAX_WINDOW, wvmInstance
XML = """<domain><devices>