You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
274 B

2 years ago
  1. from fe import conf
  2. from fe.access import seller, auth
  3. def register_new_seller(user_id, password) -> seller.Seller:
  4. a = auth.Auth(conf.URL)
  5. code = a.register(user_id, password)
  6. assert code == 200
  7. s = seller.Seller(conf.URL, user_id, password)
  8. return s