import os
import re
import sys
-import gmock_test_utils
+from googlemock.test import gmock_test_utils
# The flag for generating the golden file
golden_file.close()
# The normalized output should match the golden file.
- self.assertEquals(golden, output)
+ self.assertEqual(golden, output)
# The raw output should contain 2 leaked mock object errors for
# test GMockOutputTest.CatchesLeakedMocks.
- self.assertEquals(['GMockOutputTest.CatchesLeakedMocks',
- 'GMockOutputTest.CatchesLeakedMocks'],
- leaky_tests)
+ self.assertEqual(['GMockOutputTest.CatchesLeakedMocks',
+ 'GMockOutputTest.CatchesLeakedMocks'],
+ leaky_tests)
if __name__ == '__main__':