def METHOD_NAME(self, *args, **options):
    if options["baseurl"]:
        self.baseurl = options["baseurl"]
    randomname = self.randomString(10)
    username = f'{randomname}-ajapaik-test@gmail.com'
    password = self.randomString(16)
    firstname = f'first {randomname}'
    lastname = f'last {randomname}'
    session = self.test_register(username, password, firstname, lastname, '{"error":0')
    print('\ntesting username/password login')
    self.test_logout('{"error":2')
    session = self.test_login(username, password, '{"error":0')
    self.test_logout('{"error":0', session)
    self.test_login(f'{username}foo', password, '{"error":10')
    self.test_logout('{"error":2')
    print('\nlogged out')
    self.run_tests()
    print('\nlogged in as', username)
    self.run_tests(username, password)