File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 3
3
import os
4
4
import pytest
5
5
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
9
9
10
10
11
11
@pytest .fixture
@@ -124,14 +124,14 @@ def schema(metadata_v2):
124
124
125
125
# pylint: disable=redefined-outer-name
126
126
127
- return schema_from_xml (metadata_v2 )
127
+ return builder . schema_from_xml (metadata_v2 )
128
128
129
129
130
130
@pytest .fixture
131
131
def schema_v4 (metadata_v4 ):
132
- meta = MetadataBuilder (
132
+ meta = builder . MetadataBuilder (
133
133
metadata_v4 ,
134
- config = Config (ODataV4 )
134
+ config = pyodata . config . Config (v4 . ODataV4 )
135
135
)
136
136
137
137
return meta .build ()
You can’t perform that action at this time.
0 commit comments