Skip to content

Commit 7a85ef1

Browse files
committed
fix: test fix attempt
1 parent 516236c commit 7a85ef1

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/test/java/io/github/guacsec/trustifyda/providers/Python_Provider_Test.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,8 @@ void test_the_provideStack(String testFolder) throws IOException {
8484
assertThat(dropIgnored(new String(content.buffer))).isEqualTo(dropIgnored(expectedSbom));
8585
}
8686

87-
@EnabledIfEnvironmentVariable(named = "RUN_PYTHON_BIN", matches = "true")
87+
@SetSystemProperty(key = PythonControllerBase.PROP_TRUSTIFY_DA_PYTHON_VIRTUAL_ENV, value = "true")
88+
@RestoreSystemProperties
8889
@ParameterizedTest
8990
@MethodSource("testFolders")
9091
void test_the_provideComponent(String testFolder) throws IOException {

0 commit comments

Comments
 (0)