mirror of https://github.com/peter4431/rq.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
311 B
Python
9 lines
311 B
Python
from unittest import TestCase
|
|
from rq.scripts import read_config_file
|
|
|
|
class TestScripts(TestCase):
|
|
def test_config_file(self):
|
|
settings = read_config_file("tests.dummy_settings")
|
|
self.assertIn("REDIS_HOST", settings)
|
|
self.assertEqual(settings['REDIS_HOST'], "testhost.example.com")
|