Pytest: tici mark for skipping on-device tests (#30412)

* mark tici

* not those ones

* missed that one

* add those

* add pypoetry

* oops
This commit is contained in:
Justin Newberry
2023-11-07 20:35:44 -05:00
committed by GitHub
parent c419376bbd
commit aec7cea30d
19 changed files with 45 additions and 49 deletions

View File

@@ -1,6 +1,7 @@
#!/usr/bin/env python3
import math
import os
import pytest
import random
import shutil
import subprocess
@@ -31,14 +32,9 @@ CAMERAS = [
FILE_SIZE_TOLERANCE = 0.5
@pytest.mark.tici # TODO: all of loggerd should work on PC
class TestEncoder(unittest.TestCase):
# TODO: all of loggerd should work on PC
@classmethod
def setUpClass(cls):
if not TICI:
raise unittest.SkipTest
def setUp(self):
self._clear_logs()
os.environ["LOGGERD_TEST"] = "1"