def setUp(self) -> None: self.credentials = create_credentials() self.user, self.token_headers = create_user(**self.credentials) self.client = Client() self.client.login(**self.credentials) self.log_type = random.choice(list(all_types.keys())) Whitelist.objects.create(log_type=self.log_type)
def setUp(self) -> None: self.credentials = create_credentials() self.user, self.token_headers = create_user(**self.credentials) self.client = Client() self.client.login(**self.credentials) Whitelist.objects.create(log_type='rowboat')
def setUp(self) -> None: self.credentials = create_credentials() self.user, self.token_headers = create_user(**self.credentials) self.client = Client() self.client.login(**self.credentials)