commit | 53d0dc04e2bada7bb699ea9b697ec95263d85e37 | [log] [tgz] |
---|---|---|
author | Matthew Treinish <mtreinish@kortar.org> | Fri Apr 24 15:57:27 2015 -0400 |
committer | Matthew Treinish <mtreinish@kortar.org> | Tue May 12 14:53:57 2015 -0400 |
tree | ebe7ae124d22abf104f2b854b7fc231cdf5beb96 | |
parent | 9b7eee7bf17a27f979037725ff3a02159151cc8b [diff] |
Use six.moves.builtins to mock open in unit tests This commit switches all the mocks for the open call to use the six builtins module instead of __builtin__. This is needed because on python 3 it was renamed to builtins, so to enable running the unit tests on either environment we need to leverage the six module. Change-Id: Idf8c0e9858451507c9ac0cfae747f90c6feb7f1e