Commit 51bfdca9 authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

NBI component:

- Fixed mock_nbi_dependencies tool
parent ac2572c8
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -61,7 +61,8 @@ RUN pip-compile --quiet --output-file=requirements.txt requirements.in
RUN python3 -m pip install -r requirements.txt

# Add component files into working directory
COPY src/tests/tools/mock_nbi_dependencies/. ./
WORKDIR /var/teraflow
COPY src/tests/tools/mock_nbi_dependencies/. mock_nbi_dependencies/

# Start the service
ENTRYPOINT ["python", "MockNbiDependencies.py"]
ENTRYPOINT ["python", "-m", "tests.tools.mock_nbi_dependencies"]
+1 −1
Original line number Diff line number Diff line
@@ -17,5 +17,5 @@ pip install -r src/tests/tools/mock_nbi_dependencies/requirements.in
## 2. Run the Mock NBI Dependencies
Run the Mock NBI Dependencies as follows:
```bash
python src/tests/tools/mock_nbi_dependencies/MockNbiDependencies.py
PYTHONPATH=./src python -m tests.tools.mock_nbi_dependencies
```