mirror of
https://github.com/clockworklabs/SpacetimeDB.git
synced 2026-05-11 18:36:15 -04:00
540c519002
* Rewrite smoketests as python unittests * Get all tests working and do some work on parallel unittest * Give up on parallel unittests * Fix CI + address comments * Fix skip-clippy arg confusion (just use the env var) * fix ci * Add comments
12 lines
364 B
Python
12 lines
364 B
Python
import unittest
|
|
import tempfile
|
|
import subprocess
|
|
from .. import Smoketest
|
|
|
|
class ClippyDefaultModule(Smoketest):
|
|
AUTOPUBLISH = False
|
|
|
|
def test_default_module_clippy_check(self):
|
|
"""Ensure that the default rust module has no clippy errors or warnings"""
|
|
|
|
subprocess.check_call(["cargo", "clippy", "--", "-Dwarnings"], cwd=self.project_path) |