2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-15 03:25:42 +00:00

remove cui tags

This commit is contained in:
Matthias Mair
2024-10-28 23:00:57 +01:00
parent fe186f65c3
commit 1106f20165
3 changed files with 2 additions and 9 deletions

View File

@ -2,7 +2,6 @@
import os
from django.test import tag
from django.urls import reverse
from InvenTree.unit_test import InvenTreeTestCase
@ -35,8 +34,6 @@ class ViewTests(InvenTreeTestCase):
return str(response.content.decode())
# TODO: Replace this with a PUI test
@tag('cui')
def test_url_login(self):
"""Test logging in via arguments."""
# Log out

View File

@ -11,7 +11,7 @@ from django.conf import settings
from django.contrib.auth import get_user_model
from django.core import mail
from django.core.exceptions import ValidationError
from django.test import TestCase, override_settings, tag
from django.test import TestCase, override_settings
from django.urls import reverse
from django.utils import timezone
@ -1493,8 +1493,6 @@ class MagicLoginTest(InvenTreeTestCase):
self.assertEqual(resp.wsgi_request.user, self.user)
# TODO - refactor to not use CUI
@tag('cui')
class MaintenanceModeTest(InvenTreeTestCase):
"""Unit tests for maintenance mode."""

View File

@ -2,7 +2,7 @@
from django.apps import apps
from django.contrib.auth.models import Group
from django.test import TestCase, tag
from django.test import TestCase
from django.urls import reverse
from common.settings import set_global_setting
@ -166,8 +166,6 @@ class OwnerModelTest(InvenTreeTestCase):
self.assertEqual(response.status_code, status_code)
return response.data
# TODO: Find out why this depends on CUI
@tag('cui')
def test_owner(self):
"""Tests for the 'owner' model."""
# Check that owner was created for user