Skip to content

Commit c4a742c

Browse files
committed
wip
1 parent b59b1bc commit c4a742c

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tests/conftest.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
import os
44
import pytest
55

6-
from pyodata.config import Config
7-
from pyodata.model.builder import schema_from_xml, MetadataBuilder
8-
from pyodata.v4 import ODataV4
6+
import pyodata.config
7+
import pyodata.model.builder as builder
8+
import pyodata.v4 as v4
99

1010

1111
@pytest.fixture
@@ -124,14 +124,14 @@ def schema(metadata_v2):
124124

125125
# pylint: disable=redefined-outer-name
126126

127-
return schema_from_xml(metadata_v2)
127+
return builder.schema_from_xml(metadata_v2)
128128

129129

130130
@pytest.fixture
131131
def schema_v4(metadata_v4):
132-
meta = MetadataBuilder(
132+
meta = builder.MetadataBuilder(
133133
metadata_v4,
134-
config=Config(ODataV4)
134+
config=pyodata.config.Config(v4.ODataV4)
135135
)
136136

137137
return meta.build()

0 commit comments

Comments
 (0)