Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nsxt: Typing fixes for Python 3.6 compatibility. #353

Merged
merged 1 commit into from
Jan 11, 2024

Commits on Jan 11, 2024

  1. nsxt: Typing fixes for Python 3.6 compatibility.

    Ability to run checked mainly by running `docker build --tag=capirca .` and
    `docker run capirca`, since the current `Dockerfile` conveniently uses Python
    3.6.
    
    To run the tests, a separate `Dockerfile.tests` was used (but not submitted)
    with the following changes:
    
        WORKDIR /app
    
        ENTRYPOINT ["python3", "-m", "unittest", "discover", "-s", ".", "-p", "nsxt_test.py", "-v"]
    
    and running the test as follows:
    
        docker build -f Dockerfile.tests --tag capirca:test_nsxt .
        docker run capirca:test_nsxt
    
    Fixes google#345.
    ivucica committed Jan 11, 2024
    Configuration menu
    Copy the full SHA
    badaa97 View commit details
    Browse the repository at this point in the history