@classmethod<EOL><INDENT>def setUpClass(cls):<DEDENT>
print("<STR_LIT>")<EOL>cls.backend_address = "<STR_LIT>"<EOL>os.environ['<STR_LIT>'] = '<STR_LIT>'<EOL>exit_code = subprocess.call(<EOL>shlex.split(<EOL>'<STR_LIT>' % os.environ['<STR_LIT>'])<EOL>)<EOL>assert exit_code == <NUM_LIT:0><EOL>cls.pid = subprocess.Popen([<EOL>'<STR_LIT>', '<STR_LIT>', '<STR_LIT>', '<STR_LIT>', '<STR_LIT>',<EOL>'<STR_LIT>', '<STR_LIT>', '<STR_LIT>', '<STR_LIT>', '<STR_LIT>',<EOL>'<STR_LIT>'<EOL>])<EOL>time.sleep(<NUM_LIT:3>)<EOL>headers = {'<STR_LIT:Content-Type>': '<STR_LIT:application/json>'}<EOL>params = {'<STR_LIT:username>': '<STR_LIT>', '<STR_LIT:password>': '<STR_LIT>', '<STR_LIT:action>': '<STR_LIT>'}<EOL>response = requests.post(cls.backend_address + '<STR_LIT>', json=params, headers=headers)<EOL>resp = response.json()<EOL>cls.token = resp['<STR_LIT>']<EOL>cls.auth = requests.auth.HTTPBasicAuth(cls.token, '<STR_LIT>')<EOL>response = requests.get(cls.backend_address + '<STR_LIT>',<EOL>auth=cls.auth)<EOL>resp = response.json()<EOL>cls.realmAll_id = resp['<STR_LIT>'][<NUM_LIT:0>]['<STR_LIT>']<EOL>
Function used in the beginning of test to prepare the backend

:param module:
:return: None