| 1 |
from DisplayCAL import worker_base |
| 2 |
|
| 3 |
|
| 4 |
def test_printcmdline_1(): |
| 5 |
"""Test worker_base.printcmdline() function for issue #73""" |
| 6 |
# Command line: |
| 7 |
cmd = "/home/eoyilmaz/.local/bin/Argyll_V2.3.0/bin/colprof" |
| 8 |
args = [ |
| 9 |
"-v", |
| 10 |
"-qh", |
| 11 |
"-ax", |
| 12 |
"-bn", |
| 13 |
"-C", |
| 14 |
b"No copyright. Created with DisplayCAL 3.8.9.3 and Argyll CMS 2.3.0", |
| 15 |
"-A", |
| 16 |
"Dell, Inc.", |
| 17 |
"-D", |
| 18 |
"UP2516D_#1_2022-04-01_00-26_2.2_F-S_XYZLUT+MTX", |
| 19 |
"/tmp/DisplayCAL-i91d9z8_/UP2516D_#1_2022-04-01_00-26_2.2_F-S_XYZLUT+MTX", |
| 20 |
] |
| 21 |
# fn = "<bound method WorkerBase.log of <DisplayCAL.worker.Worker object at 0x7f7b941bb6a0>>" |
| 22 |
cwd = "/tmp/DisplayCAL-i91d9z8_" |
| 23 |
worker_base.printcmdline(cmd=cmd, args=args, cwd=cwd) |