Skip to content

Commit

Permalink
Fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
Aiky30 committed Jan 24, 2024
1 parent be2d56d commit 3e3523e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions shedpi_hub_dashboard/tests/utils/factories.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from typing import ClassVar
from uuid import uuid4

import factory
Expand All @@ -23,12 +24,12 @@ class Meta:
device = factory.SubFactory(DeviceFactory)
name = factory.Faker("word")
location = factory.Faker("word")
schema = {}
schema: ClassVar[dict] = {}


class DeviceModuleReadingFactory(DjangoModelFactory):
class Meta:
model = DeviceModuleReading

device_module = factory.SubFactory(DeviceModuleFactory)
data = {}
data: ClassVar[dict] = {}

0 comments on commit 3e3523e

Please sign in to comment.