MCPcopy Create free account
hub / github.com/apache/solr / testChangelogMd

Function testChangelogMd

dev-tools/scripts/smokeTestRelease.py:384–396  ·  view source on GitHub ↗

Checks CHANGELOG.md file.

(dir, version)

Source from the content-addressed store, hash-verified

382
383 if changesURL is None:
384 raise RuntimeError('did not see Changes.html link from %s' % changesURLString)
385
386 s = load(changesURL)
387 checkChangesContent(s, version, changesURL, True)
388
389def testOpenApi(version, openApiDirUrl):
390 print(' check OpenAPI specification...')
391 specFound = False
392 expectedSpecFileName = 'solr-openapi-' + version + '.json'
393 for text, subURL in getDirEntries(openApiDirUrl):
394 if text == expectedSpecFileName:
395 specFound = True
396
397 if not specFound:
398 raise RuntimeError('Did not see %s in %s' % expectedSpecFileName, openApiDirUrl)
399

Callers 2

verifySrcUnpackedFunction · 0.85
verifyBinaryUnpackedFunction · 0.85

Calls 3

existsMethod · 0.65
readMethod · 0.65
joinMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…