Example #1
0
 def test_get_init(self):
     """Ensures get_init gets the init state."""
     self.assertTrue(scrap.get_init())
Example #2
0
 def test_get_init(self):
     # Test if get_init() gets the init state.
     self.assertTrue(scrap.get_init())
Example #3
0
    def test_init(self):
        """Ensures scrap module still initialized after multiple init calls."""
        scrap.init()
        scrap.init()

        self.assertTrue(scrap.get_init())
Example #4
0
    def test_init(self):
        # Test if module initialized after multiple init() calls.
        scrap.init()
        scrap.init()

        self.assertTrue(scrap.get_init())