@@ -72,7 +72,7 @@ def test_generate_cs(tmp_path, protocol):
7272
7373
7474def test_add_vo (cs_repo ):
75- config = ConfigSource .create_from_url (backend_url = cs_repo ).read_config ()
75+ config = ConfigSource .create_from_url (backend_url = cs_repo ).read ()
7676
7777 assert TEST_VO in config .Registry
7878 assert config .Registry [TEST_VO ].DefaultGroup == "user"
@@ -95,7 +95,7 @@ def test_add_vo(cs_repo):
9595 ],
9696 )
9797
98- config = ConfigSource .create_from_url (backend_url = cs_repo ).read_config ()
98+ config = ConfigSource .create_from_url (backend_url = cs_repo ).read ()
9999 assert result .exit_code == 0 , result .output
100100
101101 assert vo2 in config .Registry
@@ -121,7 +121,7 @@ def test_add_vo(cs_repo):
121121def test_add_group (cs_repo ):
122122 new_group = "testgroup2"
123123
124- config = ConfigSource .create_from_url (backend_url = cs_repo ).read_config ()
124+ config = ConfigSource .create_from_url (backend_url = cs_repo ).read ()
125125
126126 assert TEST_USER_GROUP in config .Registry [TEST_VO ].Groups
127127 assert config .Registry [TEST_VO ].Groups [TEST_USER_GROUP ].JobShare == 1000
@@ -143,7 +143,7 @@ def test_add_group(cs_repo):
143143 "AdminUser" ,
144144 ],
145145 )
146- config = ConfigSource .create_from_url (backend_url = cs_repo ).read_config ()
146+ config = ConfigSource .create_from_url (backend_url = cs_repo ).read ()
147147 assert result .exit_code == 0 , result .output
148148
149149 assert new_group in config .Registry [TEST_VO ].Groups
@@ -190,7 +190,7 @@ def test_add_user(cs_repo, vo, user_group):
190190 sub = "lhcb:chaen"
191191 preferred_username = "dontCallMeShirley"
192192
193- config = ConfigSource .create_from_url (backend_url = cs_repo ).read_config ()
193+ config = ConfigSource .create_from_url (backend_url = cs_repo ).read ()
194194
195195 # Check the user isn't in it
196196 if vo in config .Registry :
@@ -216,7 +216,7 @@ def test_add_user(cs_repo, vo, user_group):
216216
217217 assert result .exit_code == 0 , result .output
218218
219- config = ConfigSource .create_from_url (backend_url = cs_repo ).read_config ()
219+ config = ConfigSource .create_from_url (backend_url = cs_repo ).read ()
220220 # check the user is defined
221221 assert vo in config .Registry
222222 assert sub in config .Registry [vo ].Users
0 commit comments