Skip to content

Commit

Permalink
Remove poetry integration tests for build-info
Browse files Browse the repository at this point in the history
  • Loading branch information
attiasas committed Nov 20, 2023
1 parent 8d789e3 commit 3bc4153
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 144 deletions.
4 changes: 2 additions & 2 deletions main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ func setupIntegrationTests() {
if (*tests.TestArtifactory && !*tests.TestArtifactoryProxy) || *tests.TestArtifactoryProject {
InitArtifactoryTests()
}
if *tests.TestNpm || *tests.TestGradle || *tests.TestMaven || *tests.TestGo || *tests.TestNuget || *tests.TestPip || *tests.TestPipenv || *tests.TestPoetry {
if *tests.TestNpm || *tests.TestGradle || *tests.TestMaven || *tests.TestGo || *tests.TestNuget || *tests.TestPip || *tests.TestPipenv {
InitBuildToolsTests()
}
if *tests.TestDocker || *tests.TestPodman || *tests.TestDockerScan {
Expand Down Expand Up @@ -85,7 +85,7 @@ func tearDownIntegrationTests() {
if (*tests.TestArtifactory && !*tests.TestArtifactoryProxy) || *tests.TestArtifactoryProject {
CleanArtifactoryTests()
}
if *tests.TestNpm || *tests.TestGradle || *tests.TestMaven || *tests.TestGo || *tests.TestNuget || *tests.TestPip || *tests.TestPipenv || *tests.TestPoetry || *tests.TestDocker || *tests.TestPodman || *tests.TestDockerScan {
if *tests.TestNpm || *tests.TestGradle || *tests.TestMaven || *tests.TestGo || *tests.TestNuget || *tests.TestPip || *tests.TestPipenv || *tests.TestDocker || *tests.TestPodman || *tests.TestDockerScan {
CleanBuildToolsTests()
}
if *tests.TestDistribution {
Expand Down
129 changes: 0 additions & 129 deletions poetry_test.go

This file was deleted.

2 changes: 0 additions & 2 deletions utils/tests/consts.go
Original file line number Diff line number Diff line change
Expand Up @@ -176,8 +176,6 @@ var (
PypiVirtualRepo = "cli-pypi-virtual"
PipenvRemoteRepo = "cli-pipenv-pypi-remote"
PipenvVirtualRepo = "cli-pipenv-pypi-virtual"
PoetryRemoteRepo = "cli-poetry-pypi-remote"
PoetryVirtualRepo = "cli-poetry-pypi-virtual"
DockerLocalRepo = "cli-docker-local"
DockerLocalPromoteRepo = "cli-docker-local-promote"
DockerRemoteRepo = "cli-docker-remote"
Expand Down
11 changes: 0 additions & 11 deletions utils/tests/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ var (
TestNuget *bool
TestPip *bool
TestPipenv *bool
TestPoetry *bool
TestPlugins *bool
TestXray *bool
TestAccess *bool
Expand Down Expand Up @@ -101,7 +100,6 @@ func init() {
TestNuget = flag.Bool("test.nuget", false, "Test Nuget")
TestPip = flag.Bool("test.pip", false, "Test Pip")
TestPipenv = flag.Bool("test.pipenv", false, "Test Pipenv")
TestPoetry = flag.Bool("test.poetry", false, "Test Poetry")
TestPlugins = flag.Bool("test.plugins", false, "Test Plugins")
TestXray = flag.Bool("test.xray", false, "Test Xray")
TestAccess = flag.Bool("test.access", false, "Test Access")
Expand Down Expand Up @@ -341,8 +339,6 @@ var reposConfigMap = map[*string]string{
&PypiVirtualRepo: PypiVirtualRepositoryConfig,
&PipenvRemoteRepo: PipenvRemoteRepositoryConfig,
&PipenvVirtualRepo: PipenvVirtualRepositoryConfig,
&PoetryRemoteRepo: PoetryRemoteRepositoryConfig,
&PoetryVirtualRepo: PoetryVirtualRepositoryConfig,
&RtDebianRepo: DebianTestRepositoryConfig,
&RtLfsRepo: GitLfsTestRepositoryConfig,
&RtRepo1: Repo1RepositoryConfig,
Expand Down Expand Up @@ -400,7 +396,6 @@ func GetNonVirtualRepositories() map[*string]string {
TestNuget: {&NugetRemoteRepo},
TestPip: {&PypiRemoteRepo},
TestPipenv: {&PipenvRemoteRepo},
TestPoetry: {&PoetryRemoteRepo},
TestPlugins: {&RtRepo1},
TestXray: {},
TestAccess: {&RtRepo1},
Expand All @@ -425,7 +420,6 @@ func GetVirtualRepositories() map[*string]string {
TestNuget: {},
TestPip: {&PypiVirtualRepo},
TestPipenv: {&PipenvVirtualRepo},
TestPoetry: {&PoetryVirtualRepo},
TestPlugins: {},
TestXray: {},
TestAccess: {},
Expand Down Expand Up @@ -461,7 +455,6 @@ func GetBuildNames() []string {
TestNuget: {&NuGetBuildName},
TestPip: {&PipBuildName},
TestPipenv: {&PipenvBuildName},
TestPoetry: {&PoetryBuildName},
TestPlugins: {},
TestXray: {},
TestAccess: {},
Expand Down Expand Up @@ -509,8 +502,6 @@ func getSubstitutionMap() map[string]string {
"${PYPI_VIRTUAL_REPO}": PypiVirtualRepo,
"${PIPENV_REMOTE_REPO}": PipenvRemoteRepo,
"${PIPENV_VIRTUAL_REPO}": PipenvVirtualRepo,
"${POETRY_REMOTE_REPO}": PoetryRemoteRepo,
"${POETRY_VIRTUAL_REPO}": PoetryVirtualRepo,
"${BUILD_NAME1}": RtBuildName1,
"${BUILD_NAME2}": RtBuildName2,
"${BUNDLE_NAME}": BundleName,
Expand Down Expand Up @@ -567,8 +558,6 @@ func AddTimestampToGlobalVars() {
PypiVirtualRepo += uniqueSuffix
PipenvRemoteRepo += uniqueSuffix
PipenvVirtualRepo += uniqueSuffix
PoetryRemoteRepo += uniqueSuffix
PoetryVirtualRepo += uniqueSuffix
RtDebianRepo += uniqueSuffix
RtLfsRepo += uniqueSuffix
RtRepo1 += uniqueSuffix
Expand Down

0 comments on commit 3bc4153

Please sign in to comment.