package renamed to xair-api

now packaged with poetry and added to pypi

using tomllib, requires python 3.11

readme, changelog updated to reflect changes

major version bump
This commit is contained in:
onyx-and-iris
2022-08-07 23:55:51 +01:00
parent e8d23562f1
commit f8c6659fd8
26 changed files with 522 additions and 239 deletions

View File

@@ -1,13 +1,14 @@
import mair
from mair import kinds
import sys
import threading
from dataclasses import dataclass
import sys
import xair_api
from xair_api import kinds
kind_id = "MR18"
ip = "mixer.local"
tests = mair.connect(kind_id, ip=ip)
tests = xair_api.connect(kind_id, ip=ip)
kind = kinds.get(kind_id)

View File

@@ -11,7 +11,7 @@ Function RunTests {
$line | Tee-Object -FilePath $coverage -Append
}
}
Write-Output "$(Get-TimeStamp)" | Out-file $coverage -Append
Write-Output "$(Get-TimeStamp)" | Out-File $coverage -Append
Invoke-Expression "genbadge tests -t 90 -i ./tests/.coverage.xml -o ./tests/$kind.svg"
}
@@ -23,7 +23,7 @@ Function Get-TimeStamp {
}
if ($MyInvocation.InvocationName -ne ".") {
Invoke-Expression ".\venv\Scripts\Activate.ps1"
Invoke-Expression ".\.venv\Scripts\Activate.ps1"
RunTests

View File

@@ -1,5 +1,6 @@
import pytest
from tests import tests, data
from tests import data, tests
"""
Not every subclass is tested for every superclass to avoid redundancy.