#255: Use Config class to simplify access to configuration options
--------------------+-------------------------------------------------------
 Reporter:  kparal  |       Owner:     
     Type:  task    |      Status:  new
 Priority:  minor   |   Milestone:     
Component:  core    |    Keywords:     
--------------------+-------------------------------------------------------
 Currently all our libraries and tests use ConfigParser and parse our
 configuration files (autoqa.conf, fas.conf, etc) directly. That is not
 ideal, it involves many lines of code, converting to correct variable
 types (int, bool), handling default values, and so on.

 We should create a Python class Config, which is initialized once in the
 beginning, and then can be access globally and easily from any other
 module. It will handle default values and type conversion centrally in one
 place. Also access will be much easier.

 PS: We already have autoqa.config module. Maybe we just don't use it?

-- 
Ticket URL: <https://fedorahosted.org/autoqa/ticket/255>
AutoQA <http://autoqa.fedorahosted.org>
Automated QA project
_______________________________________________
autoqa-devel mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/autoqa-devel

Reply via email to