We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b59b1bc commit c4a742cCopy full SHA for c4a742c
1 file changed
tests/conftest.py
@@ -3,9 +3,9 @@
3
import os
4
import pytest
5
6
-from pyodata.config import Config
7
-from pyodata.model.builder import schema_from_xml, MetadataBuilder
8
-from pyodata.v4 import ODataV4
+import pyodata.config
+import pyodata.model.builder as builder
+import pyodata.v4 as v4
9
10
11
@pytest.fixture
@@ -124,14 +124,14 @@ def schema(metadata_v2):
124
125
# pylint: disable=redefined-outer-name
126
127
- return schema_from_xml(metadata_v2)
+ return builder.schema_from_xml(metadata_v2)
128
129
130
131
def schema_v4(metadata_v4):
132
- meta = MetadataBuilder(
+ meta = builder.MetadataBuilder(
133
metadata_v4,
134
- config=Config(ODataV4)
+ config=pyodata.config.Config(v4.ODataV4)
135
)
136
137
return meta.build()
0 commit comments