From 0e776ddc19fd27ef292cecb8c64d9340dcdb9eb1 Mon Sep 17 00:00:00 2001 From: Francois Beutin Date: Wed, 19 Jul 2023 16:24:36 +0200 Subject: [PATCH] Fix option all_nano --- CHANGELOG.md | 5 +++++ src/ragger/conftest/base_conftest.py | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5605c0ce..c48369ca 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.11.1] - 2023-07-19 + +### Fixed: +- base conftest : hotfix option "all_nano" + ## [1.11.0] - 2023-07-19 ### Added: diff --git a/src/ragger/conftest/base_conftest.py b/src/ragger/conftest/base_conftest.py index d6bfc0b4..5c574584 100644 --- a/src/ragger/conftest/base_conftest.py +++ b/src/ragger/conftest/base_conftest.py @@ -93,7 +93,7 @@ def pytest_generate_tests(metafunc): # Enable firmware for requested devices for fw in FIRMWARES: - if device == fw.name or device == "all" or (device == "all_nano" and fw.name.is_nano()): + if device == fw.name or device == "all" or (device == "all_nano" and fw.is_nano): fw_list.append(fw) ids.append(fw.name)