Beispiel #1
0
 def registration_positive_test(self, device: Device) -> None:
     generator = Person()
     assert "success" in UserRegistration(
         Identity(generator.name(), generator.last_name(),
                  generator.telephone()),
         Credentials(generator.email(), generator.password(), "0"),
     ).registration_response(device)
Beispiel #2
0
 def registration_positive_test(self, device: Device) -> None:
     assert "success" in UserRegistration(
         Identity("Alex", "Ivanov", "+38090890812"),
         Credentials(EmailsGeneration().creating_full_email(), "12345678", "0"),
     ).registration_response(device)
Beispiel #3
0
 def creating_account(self, device: Device) -> None:
     assert "success" in UserRegistration(
         Identity("Test", "Test", "+380957772255"), Credentials(self.email, self.password, "0")
     ).registration_response(device)
Beispiel #4
0
 def create_account(self, device: Device) -> None:
     assert "success" in UserRegistration(
         Identity(self.person.name(), self.person.last_name(),
                  self.person.telephone()),
         Credentials(self.email, self.password, "0"),
     ).registration_response(device)
Beispiel #5
0
 def create_account(self, device: Device) -> None:
     assert "success" in UserRegistration(
         Identity("Petr", "Petrov", "+38090890812"), Credentials(self.email, self.password, "0")
     ).registration_response(device)