(self, filepath, headers = {}, expected_status_code = 200)
| 1008 | return self.execute_query(q, "/v1/graphql", headers, expected_status_code) |
| 1009 | |
| 1010 | def v1graphql_f(self, filepath, headers = {}, expected_status_code = 200): |
| 1011 | with open(filepath) as f: |
| 1012 | # NOTE: preserve ordering with ruamel |
| 1013 | yml = yaml.YAML() |
| 1014 | return self.v1graphqlq(yml.load(f), headers, expected_status_code) |
| 1015 | |
| 1016 | def teardown(self): |
| 1017 | self.http.close() |