diff options
| author | Robert Brownstein <robert@hinge.co> | 2015-05-28 17:15:18 -0400 |
|---|---|---|
| committer | Robert Brownstein <robert@hinge.co> | 2015-05-28 17:15:18 -0400 |
| commit | 303f4ed47c10002b4ff797592598036de2e5a778 (patch) | |
| tree | 79399b59c61025916da98ee82395da0741473739 /tests/test_job.py | |
| parent | f370f7981981d533114af664aaa55c7f07f0eaa2 (diff) | |
| download | rq-303f4ed47c10002b4ff797592598036de2e5a778.tar.gz | |
Added test coverage for unicode keyword argument support in method signatures (#536)
Diffstat (limited to 'tests/test_job.py')
| -rw-r--r-- | tests/test_job.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/test_job.py b/tests/test_job.py index f6766fe..36570cf 100644 --- a/tests/test_job.py +++ b/tests/test_job.py @@ -399,3 +399,11 @@ class TestJob(RQTestCase): job.perform() self.assertRaises(TypeError, queue.enqueue, fixtures.say_hello, job_id=1234) + + def test_get_call_string_unicode(self): + """test call string with unicode keyword arguments""" + queue = Queue(connection=self.testconn) + + job = queue.enqueue(fixtures.echo, arg_with_unicode=fixtures.UnicodeStringObject()) + self.assertIsNotNone(job.get_call_string()) + job.perform()
\ No newline at end of file |
