This avoids problems of mock paths having different API that the real ones. Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
This greatly reduces duplication, as a single copy is now shared among all test cases. Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>