MCPcopy Create free account
hub / github.com/Graphify-Labs/graphify / test_draft

Method test_draft

tests/test_prs.py:78–80  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

76 assert _classify(pr, base="v8") == "CHANGES-REQ"
77
78 def test_draft(self):
79 pr = make_pr(ci_status="SUCCESS", is_draft=True)
80 assert _classify(pr, base="v8") == "DRAFT"
81
82 def test_stale(self):
83 old = datetime.now(timezone.utc) - timedelta(days=20)

Callers

nothing calls this directly

Calls 2

_classifyFunction · 0.90
make_prFunction · 0.85

Tested by

no test coverage detected