MCPcopy Create free account
hub / github.com/mongodb/mongo-python-driver / fix_up_curpus

Method fix_up_curpus

test/test_encryption.py:894–899  ·  view source on GitHub ↗

Disallow deprecated symbol/dbPointer types from corpus test.

(corpus)

Source from the content-addressed store, hash-verified

892
893 @staticmethod
894 def fix_up_curpus(corpus):
895 """Disallow deprecated symbol/dbPointer types from corpus test."""
896 for key in corpus:
897 if "_symbol_" in key or "_dbPointer_" in key:
898 corpus[key]["allowed"] = False
899 return corpus
900
901 @staticmethod
902 def fix_up_curpus_encrypted(corpus_encrypted, corpus):

Callers 1

_test_corpusMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected