Skip to content
This repository was archived by the owner on Aug 10, 2022. It is now read-only.

Commit 36618be

Browse files
committed
Add cut providers to core, common and selenium import namespaces
1 parent 5d87639 commit 36618be

File tree

3 files changed

+27
-1
lines changed

3 files changed

+27
-1
lines changed

eyes_core/applitools/core/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@
4747
"PositionMomento",
4848
"InvalidPositionProvider",
4949
"RegionProvider",
50+
"FixedCutProvider",
51+
"NullCutProvider",
52+
"UnscaledFixedCutProvider",
5053
"NullRegionProvider",
5154
"NULL_REGION_PROVIDER",
5255
"CheckSettings",
Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,21 @@
11
from applitools.common import BatchInfo, MatchLevel, Region, logger
2+
from applitools.core.cut import (
3+
FixedCutProvider,
4+
UnscaledFixedCutProvider,
5+
NullCutProvider,
6+
)
27
from applitools.images.fluent import Target
38

49
from .eyes import Eyes
510

6-
__all__ = ("Eyes", "BatchInfo", "Region", "MatchLevel", "logger", "Target")
11+
__all__ = (
12+
"Eyes",
13+
"BatchInfo",
14+
"Region",
15+
"MatchLevel",
16+
"logger",
17+
"Target",
18+
"FixedCutProvider",
19+
"UnscaledFixedCutProvider",
20+
"NullCutProvider",
21+
)

eyes_selenium/applitools/selenium/__init__.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@
1111
ScreenOrientation,
1212
)
1313
from applitools.common.server import FailureReports # noqa
14+
from applitools.core.cut import (
15+
NullCutProvider,
16+
FixedCutProvider,
17+
UnscaledFixedCutProvider,
18+
) # noqa
1419

1520
from .eyes import Eyes # noqa
1621
from .fluent.target import Target # noqa
@@ -34,4 +39,7 @@
3439
"DeviceName",
3540
"Configuration",
3641
"ScreenOrientation",
42+
"FixedCutProvider",
43+
"NullCutProvider",
44+
"UnscaledFixedCutProvider",
3745
)

0 commit comments

Comments
 (0)