

def test_get_available_subresources(self):
    resource = self.load('test', self.model, self.defs)()
    self.assertTrue(hasattr(resource, 'get_available_subresources'))
    subresources = sorted(resource.get_available_subresources())
    expected = sorted(['PriorityQueue', 'Message', 'QueueObject'])
    self.assertEqual(subresources, expected)

dataset/ETHPy150Open boto/boto3/tests/unit/resources/test_factory.py TestServiceResourceSubresources.test_get_available_subresources/original