Closed Bug 659135 Opened 14 years ago Closed 14 years ago

Set up initenv to be more flexible than just having an auth object

Categories

(Cloud Services :: Server: Core, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: telliott, Unassigned)

References

Details

Attachments

(1 file)

The initenv in support.py currently sets up the environment by parsing the configs, then setting up an auth object from config. As various projects start to require more than just an auth object, it would be good if the initenv could be told to load other classes from config as well so that those could be tested as needed
Depends on: 659136
Blocks: 659140
What's load_and_configure ? it seems to be missing from the patch
It's the bit in the other patch I'm still waiting for review on. Bug 659136
Comment on attachment 535136 [details] [diff] [review] Adds the ability to add arbitrary extra env classes to the environ Review of attachment 535136 [details] [diff] [review]: ----------------------------------------------------------------- looks good. two warnings to fix services/tests/support.py:47:1: E302 expected 2 blank lines, found 1 services/tests/support.py:83:80: E501 line too long (80 characters)
Attachment #535136 - Flags: review?(tarek) → review+
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: