def test_getting_resource_property_names(self): r = Resource(MagicMock(), properties={ 'href': 'reshref', '_some_property': 'should not show up' }) self.assertEqual(['href'], r._get_property_names())
def test_getting_resource_property_names(self): r = Resource( MagicMock(), properties={'href': 'reshref', '_some_property': 'should not show up'}) self.assertEqual(['href'], r._get_property_names())