stfc / rucio

Rucio - Scientific Data Management
http://rucio.cern.ch
Apache License 2.0
0 stars 0 forks source link

Client() calls in tests #4

Closed elichad closed 4 years ago

elichad commented 4 years ago

Calls to Client() (or other Client classes e.g. RSEClient) pick the VO up from the Rucio config file if a VO is not passed in as an argument. Check that this works properly when running tests in a multi-VO setting.

patrick-austin commented 4 years ago

Have run tests involving different Client classes (Replica, DID, Rule, Base) passing vo=None. Each goes through the code in BaseClient, and gets the VO from the config file successfully (I've not seen it successfully get it from the environ by self.vo = environ['RUCIO_VO'] though). The tests then pass successfully.