def test_shutdown(self): ''' Test to synchronously save the dataset to disk and then shut down the server ''' self.assertFalse(redismod.shutdown()) self.assertTrue(redismod.shutdown()) self.assertFalse(redismod.shutdown())