test: qualify immutable models and Phase 9 regression
MariaDB persistence qualification / mariadb (push) Has been cancelled
MariaDB persistence qualification / mariadb (push) Has been cancelled
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
from pathlib import Path
|
||||
import unittest
|
||||
import reconcile
|
||||
|
||||
|
||||
class FreshEvidenceBoundaryTests(unittest.TestCase):
|
||||
def test_historical_pdf_record_cannot_be_a_fresh_result(self):
|
||||
with self.assertRaises(ValueError):
|
||||
reconcile.require_fresh(reconcile.ROOT/'.artifacts/p9-remed-02/final-linux/linux-pdf.json')
|
||||
|
||||
def test_similar_prefix_is_not_the_current_package(self):
|
||||
with self.assertRaises(ValueError):
|
||||
reconcile.require_fresh(reconcile.ROOT/'.artifacts/p9-sec-02-old/result.json')
|
||||
|
||||
def test_current_pdf_evidence_root_is_accepted(self):
|
||||
reconcile.require_fresh(reconcile.ROOT/'.artifacts/p9-sec-02/final-linux/linux-pdf.json')
|
||||
|
||||
|
||||
if __name__=='__main__':unittest.main()
|
||||
Reference in New Issue
Block a user