Michael-J-Ward commented on issue #804:
URL: 
https://github.com/apache/datafusion-python/issues/804#issuecomment-2284802424

   Lastly, because our tests use relative imports for test-helpers, we need to 
make the test directory a proper package and we can run the entire test suite
   
   ```
   mv python-tests python_tests
   touch python_tests/__init__.py
   pytest python_tests/
   ```
   
   ```
   ❯ pytest python_tests/
   
==========================================================================================
 test session starts 
===========================================================================================
   platform linux -- Python 3.11.9, pytest-8.3.2, pluggy-1.5.0
   rootdir: /home/mike/workspace/tmp/datafusion-python
   configfile: pyproject.toml
   collected 338 items                                                          
                                                                                
                                            
   
   python_tests/test_aggregation.py .........................                   
                                                                                
                                      [  7%]
   python_tests/test_catalog.py .                                               
                                                                                
                                      [  7%]
   python_tests/test_config.py ...                                              
                                                                                
                                      [  8%]
   python_tests/test_context.py ....................................            
                                                                                
                                      [ 19%]
   python_tests/test_dataframe.py 
..............................................................................................
                                                                      [ 47%]
   python_tests/test_expr.py .......                                            
                                                                                
                                      [ 49%]
   python_tests/test_functions.py 
.....................................................................................................................
                                               [ 83%]
   python_tests/test_imports.py .....                                           
                                                                                
                                      [ 85%]
   python_tests/test_indexing.py ..                                             
                                                                                
                                      [ 85%]
   python_tests/test_input.py .                                                 
                                                                                
                                      [ 86%]
   python_tests/test_sql.py ......................XxXXXxxxx........             
                                                                                
                                      [ 97%]
   python_tests/test_store.py .                                                 
                                                                                
                                      [ 97%]
   python_tests/test_substrait.py ...                                           
                                                                                
                                      [ 98%]
   python_tests/test_udaf.py s..                                                
                                                                                
                                      [ 99%]
   python_tests/test_wrapper_coverage.py .                                      
                                                                                
                                      [100%]
   
   ========================================================================== 
328 passed, 1 skipped, 5 xfailed, 4 xpassed in 0.70s 
==========================================================================
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to