def test_status(self):
        class MockMemcache(object):
            """
            Mock of memcache
            """
            @staticmethod
            def get_stats():
                """
                Mock of stats method
                """
                return [('127.0.0.1:11211 (1)', {})]

        with patch.object(memcached, '_connect',
                          MagicMock(return_value=MockMemcache())):
            self.assertDictEqual(memcached.status(),
                                 {'127.0.0.1:11211 (1)': {}})
Delete snapshot of a vm
dataset/ETHPy150Open saltstack/salt/tests/unit/modules/memcached_test.py/MemcachedTestCase.test_status--crossover with--dataset/ETHPy150Open saltstack/salt/salt/modules/smartos_vmadm.py/delete_snapshot