Skip to content
Snippets Groups Projects
Select Git revision
  • a509c7034d0980370a956621e97ba044866c26a1
  • master default protected
  • ekhamitov/union-types
  • kirovets_doc
  • ypodlesov/unite-projection
  • max/parse-anonymous-blocks
  • sd/constant
  • docs/server_setup
  • docs/privileges
  • sd/2244-issue
  • raiondesu/1984-used-tier-memory
  • lomakin/adr-client-bucket-awareness
  • lomakin/insert-query-sharding-metadata
  • 25.4 protected
  • ekhamitov/1977-remove-additional-child
  • gmoshkin/box-error-improvements
  • astrochuk/explain-fix
  • dkoltsov/support-https
  • docs/config_storage
  • ekhamitov/2365-fix-flaky
  • kostja-check-quorum
  • 25.4.4 protected
  • 25.3.8 protected
  • 25.3.7 protected
  • 25.4.3 protected
  • 25.3.6 protected
  • 25.4.2 protected
  • 25.3.5 protected
  • 25.4.1 protected
  • 25.5.0 protected
  • 25.3.4 protected
  • 25.3.3 protected
  • 25.3.2 protected
  • 25.4.0 protected
  • 25.3.1 protected
  • 25.2.4 protected
  • 25.2.3 protected
  • 25.2.2 protected
  • 25.2.1 protected
  • 25.3.0 protected
  • 25.1.2 protected
41 results

picodata

  • Clone with SSH
  • Clone with HTTPS
  • Integration testing with pytest

    Installation

    1. Install Python 3.10

      Ubuntu:

      sudo add-apt-repository ppa:deadsnakes/ppa
      sudo apt install python3.10 python3.10-distutils
      curl -sSL https://bootstrap.pypa.io/get-pip.py -o get-pip.py
      python3.10 get-pip.py
    2. Install pipenv:

      python3.10 -m pip install pipenv==2022.4.8
    3. Install dependencies

      python3.10 -m pipenv install --deploy

    Adding dependencies

    python3.10 -m pipenv install <dependency-package-name>

    Running

    python3.10 -m pipenv run pytest
    python3.10 -m pipenv run lint

    or

    python3.10 -m pipenv shell
    # A new shell will be opened inside the pipenv environment
    pytest
    pipenv run lint

    Running tests in parallel with pytest-xdist

    python3.10 -m pipenv run pytest -n 20