def test_from_string(self): assert (URN.from_string( "urn:aws:111111111111:us-east-1:iam:role_policy:test-role/test-policy" ) == self.test_urn_dependent_resource)