From 1811a9b05e7c862be34792be71f4932aed32e18f Mon Sep 17 00:00:00 2001 From: Peter Portante Date: Fri, 24 May 2013 11:50:02 -0400 Subject: Remove unused is_marker method from utils. Change-Id: I67f695b57405465c7bec22c437c2169403fa59dd Signed-off-by: Peter Portante Reviewed-on: http://review.gluster.org/5089 Reviewed-by: Mohammed Junaid Tested-by: Mohammed Junaid Reviewed-by: Luis Pabon --- test/unit/common/test_utils.py | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'test') diff --git a/test/unit/common/test_utils.py b/test/unit/common/test_utils.py index c645509..0f6dba3 100644 --- a/test/unit/common/test_utils.py +++ b/test/unit/common/test_utils.py @@ -1004,17 +1004,3 @@ class TestUtils(unittest.TestCase): utils.X_OBJECT_TYPE: 'na' } ret = utils.validate_object(md) assert ret - - def test_is_marker_empty(self): - assert False == utils.is_marker(None) - - def test_is_marker_missing(self): - assert False == utils.is_marker( { 'foo': 'bar' } ) - - def test_is_marker_not_marker(self): - md = { utils.X_OBJECT_TYPE: utils.DIR } - assert False == utils.is_marker(md) - - def test_is_marker(self): - md = { utils.X_OBJECT_TYPE: utils.MARKER_DIR } - assert utils.is_marker(md) -- cgit