Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-04-25 08:29:08

0001 #!/bin/bash
0002 set -e
0003 
0004 # This script runs the pytest tests for the swf-common-lib project.
0005 
0006 # Check if a virtual environment is active
0007 if [ -z "$VIRTUAL_ENV" ]; then
0008     echo "❌ Error: No Python virtual environment is active"
0009     echo "   Please activate the swf-testbed virtual environment first:"
0010     echo "   cd swf-testbed && source .venv/bin/activate"
0011     exit 1
0012 fi
0013 
0014 echo "Using Python environment: $VIRTUAL_ENV"
0015 echo "Running pytest for swf-common-lib..."
0016 python -m pytest