Specify settings per context #1

Closed
opened 2011-05-06 12:47:30 +00:00 by heynemann · 4 comments
heynemann commented 2011-05-06 12:47:30 +00:00 (Migrated from github.com)

I'd like to be able to specify a settings file for this context. Not sure it is possible, though.

class SomeContext(Vows.Context):
def get_settings(self):
return './fixtures/some_context_settings.py'

I'd like to be able to specify a settings file for this context. Not sure it is possible, though. class SomeContext(Vows.Context): def get_settings(self): return './fixtures/some_context_settings.py'
rafaelcaricio commented 2011-08-18 14:46:25 +00:00 (Migrated from github.com)

The settings is an OS environ variable and the context vows are executed in parallel mode. So its not currently possible.

The settings is an OS environ variable and the context vows are executed in parallel mode. So its not currently possible.
heynemann commented 2011-08-19 01:09:08 +00:00 (Migrated from github.com)

Will try to help with this so we can get something working! :) Cheers

Will try to help with this so we can get something working! :) Cheers
rafaelcaricio commented 2011-08-19 01:56:33 +00:00 (Migrated from github.com)

Nice. :)

Nice. :)
rafaelcaricio commented 2011-08-23 13:11:43 +00:00 (Migrated from github.com)

It works in version 0.3.0! =D

It works in version 0.3.0! =D
Commenting is not possible because the repository is archived.
No milestone
No project
No assignees
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: archive/django-pyvows#1
No description provided.