refactor: co-locate config, container, envpool, errors, experiment, jupyter tests

Move unit tests from tests/unit/ to internal/ following Go conventions:
- tests/unit/config/* -> internal/config/* (constants, mode_paths, paths, validation)
- tests/unit/container/* -> internal/container/* (podman, security tests)
- tests/unit/envpool/* -> internal/envpool/* (envpool tests)
- tests/unit/errors/* -> internal/errtypes/* (errors_test.go moved to errtypes package)
- tests/unit/experiment/* -> internal/experiment/* (manager tests)
- tests/unit/jupyter/* -> internal/jupyter/* (config, package_blacklist, service_manager, trash_restore)

Update import paths in test files to reflect new locations.

Note: errors_test.go moved from tests/unit/errors/ to internal/errtypes/ to match the package structure.
This commit is contained in:
Jeremie Fraeys 2026-03-12 16:35:15 -04:00
parent a4e2ecdbe6
commit cf84246115
No known key found for this signature in database
13 changed files with 8 additions and 8 deletions

View file

@ -1,4 +1,4 @@
package config
package config_test
import (
"testing"

View file

@ -1,4 +1,4 @@
package config
package config_test
import (
"testing"

View file

@ -1,4 +1,4 @@
package config
package config_test
import (
"os"

View file

@ -1,4 +1,4 @@
package config
package config_test
import (
"fmt"

View file

@ -1,4 +1,4 @@
package tests
package container_test
import (
"context"

View file

@ -1,4 +1,4 @@
package tests
package container_test
import (
"errors"

View file

@ -1,4 +1,4 @@
package tests
package errtypes_test
import (
"errors"

View file

@ -1,4 +1,4 @@
package experiment
package experiment_test
import (
"os"