diff --git a/Tests/test_amit.py b/Tests/test_amit.py new file mode 100644 index 0000000..136169a --- /dev/null +++ b/Tests/test_amit.py @@ -0,0 +1,4 @@ +Sumit is G.O.A.T...... +first commit +2nd commit +3rd commit \ No newline at end of file diff --git a/Tests/test_amit_1.py b/Tests/test_amit_1.py new file mode 100644 index 0000000..e5292e0 --- /dev/null +++ b/Tests/test_amit_1.py @@ -0,0 +1 @@ +amit is goat \ No newline at end of file diff --git a/Tests/test_registration.py b/Tests/test_registration.py index d7218a9..31f0748 100644 --- a/Tests/test_registration.py +++ b/Tests/test_registration.py @@ -6,6 +6,7 @@ baseUrl = "https://reqres.in/" def test_successful_registration() : + surname="malbari" path = "api/register" response = requests.post(url=baseUrl+path,json=json.loads('{"email": "eve.holt@reqres.in","password": "'+randomDigits(5)+'"}')) responseJson = json.loads(response.text) @@ -14,6 +15,7 @@ def test_successful_registration() : def test_unsuccessful_registration() : + middlename="anil" path = "api/register" response = requests.post(url=baseUrl+path,json=json.loads('{"email": "testemail@pytest.com"}')) responseJson = json.loads(response.text) diff --git a/Tests/test_sumit.py b/Tests/test_sumit.py new file mode 100644 index 0000000..e69de29 diff --git a/Tests/test_sumit_1.py b/Tests/test_sumit_1.py new file mode 100644 index 0000000..93f42ee --- /dev/null +++ b/Tests/test_sumit_1.py @@ -0,0 +1 @@ +sumit is great \ No newline at end of file diff --git a/Tests/test_users.py b/Tests/test_users.py index b238fc8..1f2957c 100644 --- a/Tests/test_users.py +++ b/Tests/test_users.py @@ -5,6 +5,7 @@ baseUrl = "https://reqres.in/" def test_fetch_user() : + name="amit" path = "api/users/2" response = requests.get(url=baseUrl+path) responseJson = json.loads(response.text)