Skip to content

Installation

Installing the pytest-f3ts Python Module

The pytest-f3ts distributions are stored within a Google Cloud Artifact Registry. This is a private repository that your subscription to the FixturFab Functional Test System grants you access to.

We recommend and have detailed instructions for using Poetry to install the pytest-f3ts module. This can also be installed using pip, however, you will need to refer to the Google Cloud Artifacts documentation.

Requirements

  1. gcloud CLI Application
  2. poetry

Instructions for Installing pytest-f3ts using Poetry

  1. Install gcloud CLI Application
  2. Install poetry
  3. Add the Google Artifact Registry as a poetry plugin
    poetry self add keyrings.google-artifactregistry-auth
    
  4. Authenticate with the Google Artifact Registry
    gcloud auth login
    
  5. Verify that you are connected to the [test-runner-404519] project.
  6. Add the Google Artifact Registry as a poetry repository. Copy and paste the following into your pyproject.toml file:
    [[tool.poetry.source]]
    name = "pytest-f3ts"
    url = "https://us-west1-python.pkg.dev/test-runner-404519/pytest-f3ts/simple/"
    secondary = true
    
  7. Install the package
    poetry add pytest-f3ts
    

Note: If you're having issues installing the package, you can double check the URL by running the following command:

gcloud artifacts print-settings python \
    --project=test-runner-404519 \
    --repository=pytest-f3ts \
    --location=us-west1

Resources: