'check expected is a dictionary and result is not a dictionary'

def test_dict_result_type_mismatch(self):

    template_data = {u'server': {u'id': u'%(id)s', u'adminPass': u'%(password)s'}}
    response_data = u'foo'
    with testtools.ExpectedException(api_samples_test_base.NoMatch):
        self.ast._compare_result(expected=template_data, result=response_data, result_str='Test')
