We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b99012 commit dcbe518Copy full SHA for dcbe518
require_license/tests/settings.py
@@ -151,7 +151,7 @@
151
},
152
'null': {
153
'level': 'DEBUG',
154
- 'class': 'django.utils.log.NullHandler',
+ 'class': 'logging.NullHandler',
155
}
156
157
'loggers': {
require_license/tests/test_storage.py
@@ -20,7 +20,7 @@ class StorageTestCase(TestCase):
20
Tests for :py:mod:`~require_license.storage`.
21
"""
22
def tearDown(self):
23
- if os.path.exists(self.file_path):
+ if hasattr(self, 'file_path') and os.path.exists(self.file_path):
24
os.remove(self.file_path)
25
26
def assertHeaderEqual(self, version, expectedVersion):
0 commit comments