From 4066d3b20742a27155f88e9df2d695d2eaac829f Mon Sep 17 00:00:00 2001 From: Davee Nguyen Date: Wed, 27 Mar 2019 02:13:12 -0700 Subject: [PATCH] refactor(mixin): move mixin to _mixin --- atomacos/AXClasses.py | 2 +- atomacos/_mixin/__init__.py | 4 ++++ atomacos/{mixin => _mixin}/_input.py | 0 atomacos/{mixin => _mixin}/_search.py | 0 atomacos/{mixin => _mixin}/_wait.py | 0 atomacos/mixin/__init__.py | 4 ---- 6 files changed, 5 insertions(+), 5 deletions(-) create mode 100644 atomacos/_mixin/__init__.py rename atomacos/{mixin => _mixin}/_input.py (100%) rename atomacos/{mixin => _mixin}/_search.py (100%) rename atomacos/{mixin => _mixin}/_wait.py (100%) delete mode 100644 atomacos/mixin/__init__.py diff --git a/atomacos/AXClasses.py b/atomacos/AXClasses.py index 76be425..01ecee8 100755 --- a/atomacos/AXClasses.py +++ b/atomacos/AXClasses.py @@ -19,7 +19,7 @@ from collections import deque from atomacos import _a11y -from atomacos.mixin import KeyboardMouseMixin, SearchMethodsMixin, WaitForMixin +from atomacos._mixin import KeyboardMouseMixin, SearchMethodsMixin, WaitForMixin class NativeUIElement( diff --git a/atomacos/_mixin/__init__.py b/atomacos/_mixin/__init__.py new file mode 100644 index 0000000..60df24c --- /dev/null +++ b/atomacos/_mixin/__init__.py @@ -0,0 +1,4 @@ +# flake8: noqa: F401 +from atomacos._mixin._input import KeyboardMouseMixin +from atomacos._mixin._search import SearchMethodsMixin +from atomacos._mixin._wait import WaitForMixin diff --git a/atomacos/mixin/_input.py b/atomacos/_mixin/_input.py similarity index 100% rename from atomacos/mixin/_input.py rename to atomacos/_mixin/_input.py diff --git a/atomacos/mixin/_search.py b/atomacos/_mixin/_search.py similarity index 100% rename from atomacos/mixin/_search.py rename to atomacos/_mixin/_search.py diff --git a/atomacos/mixin/_wait.py b/atomacos/_mixin/_wait.py similarity index 100% rename from atomacos/mixin/_wait.py rename to atomacos/_mixin/_wait.py diff --git a/atomacos/mixin/__init__.py b/atomacos/mixin/__init__.py deleted file mode 100644 index 139c509..0000000 --- a/atomacos/mixin/__init__.py +++ /dev/null @@ -1,4 +0,0 @@ -# flake8: noqa: F401 -from atomacos.mixin._input import KeyboardMouseMixin -from atomacos.mixin._search import SearchMethodsMixin -from atomacos.mixin._wait import WaitForMixin