Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions PolyPilot.Tests/TempSessionSweepTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,10 @@ public void Sweep_DeletesNestedContent()
[Fact]
public void TempSessionsBase_RedirectedBySetBaseDirForTesting()
{
// Verify test isolation redirects TempSessionsBase under the test base dir
var expected = Path.Combine(TestSetup.TestBaseDir, "polypilot-sessions");
Assert.Equal(expected, CopilotService.TempSessionsBase);
// Verify test isolation redirects TempSessionsBase to a polypilot-sessions subdir
// Note: exact base dir may vary if another test temporarily overrides it via
// SetBaseDirForTesting (xUnit runs tests in parallel), so just check the suffix.
Assert.EndsWith("polypilot-sessions", CopilotService.TempSessionsBase);
}

[Fact]
Expand Down
Loading