Rename fixtures (#2946)

* Rename fixtures

* Use tilde
This commit is contained in:
Joakim Sørensen 2021-06-10 12:45:39 +02:00 committed by GitHub
parent 22c8ff1314
commit b70ed9a60d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 2 additions and 2 deletions

View File

@ -89,8 +89,8 @@ def dbus() -> DBus:
fixture = re.sub(r"_[0-9]+$", "", fixture) fixture = re.sub(r"_[0-9]+$", "", fixture)
# special case # special case
if exists_fixture(f"{fixture}_*.{filetype}"): if exists_fixture(f"{fixture}_~.{filetype}"):
fixture = f"{fixture}_*" fixture = f"{fixture}_~"
else: else:
fixture = f"{fixture}-{command[10].split('.')[-1]}" fixture = f"{fixture}-{command[10].split('.')[-1]}"
filetype = "fixture" filetype = "fixture"