Fix bug when no paths is given for Plan constructor 77/29277/3
authorYujun Zhang <zhang.yujunz@zte.com.cn>
Thu, 23 Feb 2017 12:51:38 +0000 (20:51 +0800)
committerYujun Zhang <zhang.yujunz@zte.com.cn>
Fri, 24 Feb 2017 03:19:17 +0000 (11:19 +0800)
commit245b6f4070d1b3b5124a184cb6442b55000fd321
tree975a60229a1341a0cc2ea978943b2614b2ee099f
parent452969c058a2f3f3327036b93cbc4bba4d7c574e
Fix bug when no paths is given for Plan constructor

FileLoader was trying to initialize abspath by finding a matched
name from abspath which will lead to an exception. Use default
paths of class instead.

Change-Id: I8ca2122e97edd734aa68b4c6b12196960842313b
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
benchmarks/plan/sample.yaml [new file with mode: 0644]
qtip/collector/logfile.py
qtip/loader/file.py
tests/data/benchmarks/plan/sample.yaml [new file with mode: 0644]
tests/unit/loader/plan_test.py