def setUp(self): """ Initial domain and record setup """ self.domain = 'mydomain.com' self.record = DNSRecord(domain=self.domain, hostname='www', rtype='A', content='192.168.0.10') self.api = APIName(username='******', token='bar')