This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch v1-10-test
in repository https://gitbox.apache.org/repos/asf/airflow.git

commit 10700af913b3415a97acc6bd7161dd1f2a3c2885
Author: Jarek Potiuk <[email protected]>
AuthorDate: Mon Nov 9 10:34:06 2020 +0100

    Fixed path of the test_core.py file in docs (#12191)
    
    The test_core.py has been used as example in Breeze and it's
    location changed to tests/core folder. This PR fixes references
    to the changed location.
    
    (cherry picked from commit 57b273a0b1b8af30ed017c2b24c498deb9010247)
---
 BREEZE.rst  | 2 +-
 TESTING.rst | 8 ++++----
 breeze      | 2 +-
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/BREEZE.rst b/BREEZE.rst
index 5e481f7..b66c7d2 100644
--- a/BREEZE.rst
+++ b/BREEZE.rst
@@ -1894,7 +1894,7 @@ This is the current syntax for  `./breeze <./breeze>`_:
         as additional options passed to pytest. You can pass 'tests' as target 
to
         run all tests. For example:
 
-        'breeze tests tests/test_core.py -- --logging-level=DEBUG'
+        'breeze tests tests/core/test_core.py -- --logging-level=DEBUG'
         'breeze tests tests
 
   Flags:
diff --git a/TESTING.rst b/TESTING.rst
index f4f790b..c8b170b 100644
--- a/TESTING.rst
+++ b/TESTING.rst
@@ -111,20 +111,20 @@ This can also be done by specifying a full path to the 
test:
 
 .. code-block:: bash
 
-    pytest tests/test_core.py::TestCore::test_check_operators
+    pytest tests/core/test_core.py::TestCore::test_check_operators
 
 To run the whole test class, enter:
 
 .. code-block:: bash
 
-    pytest tests/test_core.py::TestCore
+    pytest tests/core/test_core.py::TestCore
 
 You can use all available ``pytest`` flags. For example, to increase a log 
level
 for debugging purposes, enter:
 
 .. code-block:: bash
 
-    pytest --log-level=DEBUG tests/test_core.py::TestCore
+    pytest --log-level=DEBUG tests/core/test_core.py::TestCore
 
 
 Running Tests for a Specified Target Using Breeze from the Host
@@ -149,7 +149,7 @@ You can also specify individual tests or a group of tests:
 
 .. code-block:: bash
 
-    ./breeze tests --db-reset tests/test_core.py::TestCore
+    ./breeze tests --db-reset tests/core/test_core.py::TestCore
 
 
 Running Tests of a specified type from the Host
diff --git a/breeze b/breeze
index 1d8ffea..3498c64 100755
--- a/breeze
+++ b/breeze
@@ -1763,7 +1763,7 @@ ${CMDNAME} tests [FLAGS] [TEST_TARGET ..] [-- 
<EXTRA_ARGS>]
       as additional options passed to pytest. You can pass 'tests' as target to
       run all tests. For example:
 
-      '${CMDNAME} tests tests/test_core.py -- --logging-level=DEBUG'
+      '${CMDNAME} tests tests/core/test_core.py -- --logging-level=DEBUG'
       '${CMDNAME} tests tests
 
 Flags:

Reply via email to