Skip to content

Commit b390b1b

Browse files
author
Gaurav Singh
committed
Updated docker-compose to generate report portal environment, Updated tests and pytest.ini file
1 parent 33308f2 commit b390b1b

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

pytest.ini

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
[pytest]
2-
rp_uuid = fb586627-32be-47dd-93c1-678873458a5f
3-
rp_endpoint = http://192.168.1.10:8080
4-
rp_project = user_personal
5-
rp_launch = AnyLaunchName
6-
rp_launch_attributes = 'PyTest' 'Smoke'
7-
rp_launch_description = 'Smoke test'
2+
rp_uuid = 3a105970-9304-4c08-93c0-fc6b063a27ae
3+
rp_endpoint = http://localhost:8080
4+
rp_project = people-tests
5+
rp_launch = people-tests
6+
# Additional tags that would be printed
7+
rp_launch_attributes = 'people-api' 'covid-tracker'
8+
# Would be mentioned as a description of any test suite run
9+
rp_launch_description = 'People and covid tracker tests'
810
rp_ignore_errors = True
911
rp_ignore_attributes = 'xfail' 'usefixture'

tests/people_test.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@
99

1010
def test_read_all_has_kent(logger):
1111
"""
12-
Verify people API database GET operation returns a user with first name as kent
13-
:param logger:
14-
:return:
12+
Test on hitting People GET API, we get a user named kent in the list of people
1513
"""
1614
response = client.read_all_persons()
1715

0 commit comments

Comments
 (0)