def testPackageModifiedWithInvalidDate(self):
    self.assertTrue(
        handlers.IsClientResourceExpired(None, 'date will not parse'))
Tests IsClientResourceExpired() with non-parsable header str date.
dataset/ETHPy150Open google/simian/src/tests/simian/mac/munki/handlers/__init___test.py/HandlersTest.testPackageModifiedWithInvalidDate