diff --git a/src/Nethermind/Ethereum.Blockchain.Pyspec.Test/LoadPyspecTestsStrategy.cs b/src/Nethermind/Ethereum.Blockchain.Pyspec.Test/LoadPyspecTestsStrategy.cs index 198df85723e..ee879258d11 100644 --- a/src/Nethermind/Ethereum.Blockchain.Pyspec.Test/LoadPyspecTestsStrategy.cs +++ b/src/Nethermind/Ethereum.Blockchain.Pyspec.Test/LoadPyspecTestsStrategy.cs @@ -20,7 +20,7 @@ public class LoadPyspecTestsStrategy : ITestLoadStrategy public IEnumerable Load(string testsDir, string wildcard = null) { - string testsDirectoryName = Path.Combine("C:/", ArchiveName.Split('.')[0]); + string testsDirectoryName = Path.Combine(AppContext.BaseDirectory, "PyTests", ArchiveVersion, ArchiveName.Split('.')[0]); if (!Directory.Exists(testsDirectoryName)) // Prevent redownloading the fixtures if they already exists with this version and archive name DownloadAndExtract(ArchiveVersion, ArchiveName, testsDirectoryName); bool isStateTest = testsDir.Contains("state_tests", StringComparison.InvariantCultureIgnoreCase);