Test error raised when linking against a old version of libmongocrypt

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: pymongocrypt, Tests
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The version check introduced in PYTHON-2400 is bit hard to test because the check only runs when the library source is initially read. Doing things like patching the version number (e.g. using unittest.mock.patch is not enough to reproduce the exception.

      We should figure out a way to test this as part of our CI suite.

            Assignee:
            Unassigned
            Reporter:
            Prashant Mital (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: