e3b0eb5 tests: qemumonitorjson: simplify path handling in testBlockNodeNameDetect

Authored and Committed by Peter Krempa 6 years ago
    tests: qemumonitorjson: simplify path handling in testBlockNodeNameDetect
    
    Extract the test prefix path into a variable and reuse
    virTestLoadFileJSON to load the sample json files rather than doing it
    manually.
    
    Reviewed-by: Eric Blake <eblake@redhat.com>
    
        
file modified
+5 -14