Added integration test markers: #73
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Added the integration marker to pytest configuration in tox.ini Applied the marker to both new Spark tests and existing text service integration tests Created Spark integration tests:
Implemented tests that run Spark in local mode
Created a shared SparkService fixture to avoid multiple context issues Properly handled PySpark Row objects in assertions Fixed SparkService for testing:
Updated SparkService to handle Java security manager issues Added configuration for running in local mode
Improved error handling and dependency management
Added tox integration environment:
Created a dedicated tox environment for running integration tests Ensured PySpark is properly installed in the test environment