def setUp(self):
self.portalcik = self.config['<STR_LIT>']<EOL>self.vendorname = self.config['<STR_LIT>']<EOL>self.vendortoken = self.config['<STR_LIT>']<EOL>self.onep = onep.OnepV1()<EOL>isok, response = self.onep.create(<EOL>self.portalcik,<EOL>'<STR_LIT>',<EOL>{<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT:name>': '<STR_LIT>',<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT>': {<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT:email>': '<STR_LIT>',<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT:http>': '<STR_LIT>',<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT>': '<STR_LIT>'}<EOL>})<EOL>self.assertTrue(isok, '<STR_LIT>')<EOL>self.rid = response<EOL>isok, response = self.onep.info(<EOL>self.portalcik,<EOL>self.rid,<EOL>{'<STR_LIT:key>': True}<EOL>)<EOL>self.assertTrue(isok, '<STR_LIT>')<EOL>self.cik = response['<STR_LIT:key>']<EOL>
Create a device in the portal to test