def test_fill_pip_modules_with_freeze(self): provenance = Provenance() self.assertEqual(None, provenance.pip_freeze) provenance.fill_pip_modules() self.assertNotEqual({}, provenance.pip_freeze)
def test_fill_pip_modules_module_versions(self): provenance = Provenance() self.assertEqual({}, provenance.module_versions) provenance.fill_pip_modules() self.assertNotEqual({}, provenance.module_versions)