Park on a new review once requested changes are answered, never park a Gitea draft, and count a slot only for a window that started
This commit is contained in:
@@ -34,7 +34,9 @@ class ParkedChunks(unittest.TestCase):
|
||||
self.assertIsNone(unpark(self.folder, "ABC-21"))
|
||||
|
||||
def test_says_why_the_human_sees_no_chunk_run(self):
|
||||
self.assertEqual(CHUNK.waits, "it is parked: its pull request #7 awaits an approval")
|
||||
self.assertEqual(CHUNK.waits(""), "it is parked: its pull request #7 awaits an approval")
|
||||
self.assertEqual(CHUNK.waits("its checks"), "it is parked: its pull request #7 awaits its checks")
|
||||
self.assertEqual(CHUNK.waits("a slot"), "it is parked: its worker has work again on pull request #7 and awaits a slot")
|
||||
|
||||
def test_fails_naming_the_file_where_it_holds_no_parked_chunk_or_another_issues(self):
|
||||
park(self.folder, CHUNK)
|
||||
|
||||
Reference in New Issue
Block a user