mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-05 03:30:34 +00:00
tests: Updates and fixes for tests, changing master to main and adding flaky tests marker (#2511)
This commit is contained in:
@@ -247,6 +247,8 @@ namespace Octokit.Tests.Integration
|
||||
return string.Concat(name, "-", DateTime.UtcNow.ToString("yyyyMMddhhmmssfff"));
|
||||
}
|
||||
|
||||
public static bool IsNameTimestamped(string name) => name.Contains("-") && name.Substring(name.LastIndexOf("-")).Length == 18;
|
||||
|
||||
public static Stream LoadFixture(string fileName)
|
||||
{
|
||||
var key = "Octokit.Tests.Integration.fixtures." + fileName;
|
||||
|
||||
Reference in New Issue
Block a user