Skip to content

Commit

Permalink
Added commitID for activation tests that immediately run state pull
Browse files Browse the repository at this point in the history
… to update.
  • Loading branch information
mitchell-as committed Nov 1, 2023
1 parent a8a60fe commit 1632168
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/integration/activate_int_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -423,6 +423,7 @@ version: %s
`, constants.BranchName, constants.Version))

ts.PrepareActiveStateYAML(content)
ts.PrepareCommitIdFile("59404293-e5a9-4fd0-8843-77cd4761b5b5")

// Pull to ensure we have an up to date config file
cp := ts.Spawn("pull")
Expand Down Expand Up @@ -453,7 +454,7 @@ func (suite *ActivateIntegrationTestSuite) TestActivate_NamespaceWins() {
suite.Require().NoError(err)

// Create the project file at the root of the temp dir
ts.PrepareProject("ActiveState-CLI/Python3", "")
ts.PrepareProject("ActiveState-CLI/Python3", "59404293-e5a9-4fd0-8843-77cd4761b5b5")

// Pull to ensure we have an up to date config file
cp := ts.Spawn("pull")
Expand Down

0 comments on commit 1632168

Please sign in to comment.