mirror of
https://github.com/inventree/InvenTree.git
synced 2026-10-06 10:21:18 +00:00
PEP fixes
This commit is contained in:
1 parent
4dff18e4a6
commit
a19cf1f27a
3 files changed
+1
-14
No files matched your search
@@ -13,7 +13,6 @@ from django.conf import settings
|
||||
|
||||
import djmoney.settings
|
||||
from djmoney.models.fields import MoneyField
|
||||
from djmoney.money import Money
|
||||
from djmoney.contrib.exchange.models import convert_money
|
||||
from djmoney.contrib.exchange.exceptions import MissingRate
|
||||
|
||||
|
||||
@@ -7,19 +7,6 @@ from django.contrib.auth import get_user_model
|
||||
from .models import InvenTreeSetting
|
||||
|
||||
|
||||
class CurrencyTest(TestCase):
|
||||
""" Tests for Currency model """
|
||||
|
||||
fixtures = [
|
||||
'currency',
|
||||
]
|
||||
|
||||
def test_currency(self):
|
||||
# Simple test for now (improve this later!)
|
||||
|
||||
self.assertEqual(Currency.objects.count(), 2)
|
||||
|
||||
|
||||
class SettingsTest(TestCase):
|
||||
"""
|
||||
Tests for the 'settings' model
|
||||
|
||||
@@ -9,6 +9,7 @@ from part.models import Part
|
||||
from InvenTree.exchange import InvenTreeManualExchangeBackend
|
||||
from djmoney.contrib.exchange.models import Rate
|
||||
|
||||
|
||||
class CompanySimpleTest(TestCase):
|
||||
|
||||
fixtures = [
|
||||
|
||||
Reference in new issue
Block a user