PEP fixes

This commit is contained in:
Oliver Walters 2020-11-11 00:26:59 +11:00
parent 4dff18e4a6
commit a19cf1f27a
3 changed files with 1 additions and 14 deletions

View File

@ -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

View File

@ -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

View File

@ -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 = [