mirror of
https://github.com/FuzzingLabs/fuzzforge_ai.git
synced 2026-02-12 19:12:49 +00:00
fix: remove enterprise SDK references from OSS tests
This commit is contained in:
@@ -9,6 +9,7 @@ dependencies = [
|
||||
"boto3==1.42.8",
|
||||
"podman==5.6.0",
|
||||
"pytest==9.0.2",
|
||||
"fuzzforge-common==0.0.1",
|
||||
"fuzzforge-types==0.0.1",
|
||||
"testcontainers[minio]==4.13.3",
|
||||
]
|
||||
@@ -21,4 +22,5 @@ lints = [
|
||||
]
|
||||
|
||||
[tool.uv.sources]
|
||||
fuzzforge-common = { workspace = true }
|
||||
fuzzforge-types = { workspace = true }
|
||||
|
||||
@@ -15,20 +15,22 @@ import boto3
|
||||
import pytest
|
||||
from fuzzforge_common.sandboxes.engines.podman.configuration import PodmanConfiguration
|
||||
from fuzzforge_common.storage.configuration import StorageConfiguration
|
||||
from fuzzforge_sdk.constants import (
|
||||
FUZZFORGE_MODULE_DESCRIPTION_LENGTH_MAX,
|
||||
FUZZFORGE_MODULE_NAME_LENGTH_MAX,
|
||||
FUZZFORGE_MODULE_NAME_LENGTH_MIN,
|
||||
FUZZFORGE_PROJECT_DESCRIPTION_LENGTH_MAX,
|
||||
FUZZFORGE_PROJECT_NAME_LENGTH_MAX,
|
||||
FUZZFORGE_PROJECT_NAME_LENGTH_MIN,
|
||||
FUZZFORGE_WORKFLOW_DESCRIPTION_LENGTH_MAX,
|
||||
FUZZFORGE_WORKFLOW_NAME_LENGTH_MAX,
|
||||
FUZZFORGE_WORKFLOW_NAME_LENGTH_MIN,
|
||||
)
|
||||
from podman import PodmanClient
|
||||
from testcontainers.minio import MinioContainer
|
||||
|
||||
# Constants for validation (moved from enterprise SDK)
|
||||
FUZZFORGE_PROJECT_NAME_LENGTH_MIN: int = 3
|
||||
FUZZFORGE_PROJECT_NAME_LENGTH_MAX: int = 64
|
||||
FUZZFORGE_PROJECT_DESCRIPTION_LENGTH_MAX: int = 256
|
||||
|
||||
FUZZFORGE_MODULE_NAME_LENGTH_MIN: int = 3
|
||||
FUZZFORGE_MODULE_NAME_LENGTH_MAX: int = 64
|
||||
FUZZFORGE_MODULE_DESCRIPTION_LENGTH_MAX: int = 256
|
||||
|
||||
FUZZFORGE_WORKFLOW_NAME_LENGTH_MIN: int = 3
|
||||
FUZZFORGE_WORKFLOW_NAME_LENGTH_MAX: int = 64
|
||||
FUZZFORGE_WORKFLOW_DESCRIPTION_LENGTH_MAX: int = 256
|
||||
|
||||
if TYPE_CHECKING:
|
||||
from collections.abc import Callable, Generator
|
||||
from pathlib import Path
|
||||
|
||||
Reference in New Issue
Block a user