Skip to content

Commit

Permalink
Merge pull request #2 from trilitech/palmer@functori@add-tests-focusi…
Browse files Browse the repository at this point in the history
…ng-on-baking-app

Focusing tests on the baking app
  • Loading branch information
ajinkyaraj-23 authored Jan 25, 2024
2 parents 198c0e6 + c38134b commit 4213636
Show file tree
Hide file tree
Showing 400 changed files with 1,435 additions and 575 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_and_functional_tests_baking.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@ jobs:
uses: LedgerHQ/ledger-app-workflows/.github/workflows/reusable_ragger_tests.yml@v1
with:
download_app_binaries_artifact: "compiled_app_binaries"
test_dir: test/python/tests_baking
test_dir: test/python

35 changes: 0 additions & 35 deletions .github/workflows/build_and_functional_tests_wallet.yml

This file was deleted.

17 changes: 0 additions & 17 deletions .github/workflows/swap-ci-workflow.yml

This file was deleted.

2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ else
endif
endif

COMMIT ?= $(shell echo "$(GIT_DESCRIBE)" | awk -F'-g' '{print $$2}' | sed 's/-dirty/*/')
COMMIT ?= $(shell echo "$(GIT_DESCRIBE)" | awk -F'-g' '{print $2}' | sed 's/-dirty/*/')
ifeq ($(COMMIT),)
$(warning COMMIT not specified and could not be determined with git from "$(GIT_DESCRIBE)")
else
Expand Down
145 changes: 0 additions & 145 deletions test/python/apps/tezos.py

This file was deleted.

21 changes: 12 additions & 9 deletions test/python/conftest.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
from ragger.conftest import configuration
"""Pytest configuration file."""

###########################
### CONFIGURATION START ###
###########################
import pytest
from ragger.backend import BackendInterface
from ragger.conftest import configuration
from utils.client import TezosClient

# You can configure optional parameters by overriding the value of ragger.configuration.OPTIONAL_CONFIGURATION
# Please refer to ragger/conftest/configuration.py for their descriptions and accepted values
DEFAULT_SEED = " ".join(['zebra'] * 24)

#########################
### CONFIGURATION END ###
#########################
configuration.OPTIONAL.CUSTOM_SEED = DEFAULT_SEED

# Pull all features from the base ragger conftest using the overridden configuration
pytest_plugins = ("ragger.conftest.base_conftest", )

@pytest.fixture(scope="function")
def client(backend: BackendInterface):
"""Get a tezos client."""
return TezosClient(backend)
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
base58
bip32
GitPython
pytezos==3.10.2
ragger[tests,speculos]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 4213636

Please sign in to comment.