| 1 |
import QtTest 1.0 |
| 2 |
|
| 3 |
PythonRectangle { |
| 4 |
TestCase { |
| 5 |
name: "call_sync_with_parameters" |
| 6 |
when: ready |
| 7 |
|
| 8 |
function test_call_sync_with_parameters() { |
| 9 |
var result = py.call_sync('test_functions.function_that_takes_one_parameter', [1]); |
| 10 |
compare(result, 1); |
| 11 |
} |
| 12 |
} |
| 13 |
} |