Skip to content

Commit be5a75c

Browse files
committed
testsuite: test JobID emoji encoding
Problem: The Python job tests do not test the emoji encoding for JobIDs. Add a tests for expected 'emoji' encodings of JobIDs.
1 parent 3c8de96 commit be5a75c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

t/python/t0010-job.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -415,6 +415,7 @@ def test_24_jobid(self):
415415
"kvs": "job.0000.0000.0000.0000",
416416
"f58": "ƒ1",
417417
"words": "academy-academy-academy--academy-academy-academy",
418+
"emoji": "😃",
418419
},
419420
{
420421
"int": 1,
@@ -424,6 +425,7 @@ def test_24_jobid(self):
424425
"kvs": "job.0000.0000.0000.0001",
425426
"f58": "ƒ2",
426427
"words": "acrobat-academy-academy--academy-academy-academy",
428+
"emoji": "😄",
427429
},
428430
{
429431
"int": 65535,
@@ -433,6 +435,7 @@ def test_24_jobid(self):
433435
"kvs": "job.0000.0000.0000.ffff",
434436
"f58": "ƒLUv",
435437
"words": "nevada-archive-academy--academy-academy-academy",
438+
"emoji": "💁📚",
436439
},
437440
{
438441
"int": 6787342413402046,
@@ -442,6 +445,7 @@ def test_24_jobid(self):
442445
"kvs": "job.0018.1d0d.4d85.0fbe",
443446
"f58": "ƒuzzybunny",
444447
"words": "cake-plume-nepal--neuron-pencil-academy",
448+
"emoji": "👴😱🔚🎮🕙🚩",
445449
},
446450
{
447451
"int": 18446744073709551614,
@@ -451,6 +455,7 @@ def test_24_jobid(self):
451455
"kvs": "job.ffff.ffff.ffff.fffe",
452456
"f58": "ƒjpXCZedGfVP",
453457
"words": "mustang-analyze-verbal--natural-analyze-verbal",
458+
"emoji": "🚹💗💧👗😷📷📙",
454459
},
455460
]
456461
for test in parse_tests:

0 commit comments

Comments
 (0)