mirror of
https://github.com/inventree/InvenTree.git
synced 2025-07-02 03:30:54 +00:00
Clear cache for more unit tests (#3184)
This commit is contained in:
@ -245,6 +245,11 @@ class SettingsTest(InvenTreeTestCase):
|
||||
class GlobalSettingsApiTest(InvenTreeAPITestCase):
|
||||
"""Tests for the global settings API."""
|
||||
|
||||
def setUp(self):
|
||||
"""Ensure cache is cleared as part of test setup"""
|
||||
cache.clear()
|
||||
return super().setUp()
|
||||
|
||||
def test_global_settings_api_list(self):
|
||||
"""Test list URL for global settings."""
|
||||
url = reverse('api-global-setting-list')
|
||||
|
Reference in New Issue
Block a user