def testStickyEBuild(self): """Tests if we can find the sticky ebuild from our mock directories.""" # pylint: disable=protected-access stable_ebuilds = self._GetStableEBuilds() sticky_ebuild = cros_mark_chrome_as_stable._GetStickyEBuild( stable_ebuilds) self.assertEqual(sticky_ebuild.chrome_version, self.sticky_version)