forked from rc/aircox
update & fix
This commit is contained in:
@ -1,10 +1,20 @@
|
||||
from datetime import time, timedelta
|
||||
import itertools
|
||||
import logging
|
||||
|
||||
import pytest
|
||||
from model_bakery import baker
|
||||
|
||||
from aircox import models
|
||||
from aircox.test import Interface
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def logger():
|
||||
logger = Interface(
|
||||
logging, {"info": None, "debug": None, "error": None, "warning": None}
|
||||
)
|
||||
return logger
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
|
@ -1,19 +0,0 @@
|
||||
import pytest
|
||||
|
||||
from aircox.controllers.diffusions import Diffusions
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def diffusions():
|
||||
return Diffusions
|
||||
|
||||
|
||||
class TestDiffusion:
|
||||
def test___init__(self):
|
||||
pass
|
||||
|
||||
def test_update(self):
|
||||
pass
|
||||
|
||||
def test_clean(self):
|
||||
pass
|
@ -1,5 +1,4 @@
|
||||
from concurrent import futures
|
||||
import logging
|
||||
import pytest
|
||||
|
||||
from django.utils import timezone as tz
|
||||
@ -18,14 +17,6 @@ def event():
|
||||
return Interface(src_path="/tmp/src_path", dest_path="/tmp/dest_path")
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def logger():
|
||||
logger = Interface(
|
||||
logging, {"info": None, "debug": None, "error": None, "warning": None}
|
||||
)
|
||||
return logger
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def interfaces():
|
||||
items = {
|
||||
|
Reference in New Issue
Block a user