Skip to content
This repository was archived by the owner on Oct 9, 2023. It is now read-only.

Commit 1d8e5db

Browse files
author
Ganeshwara Herawan Hananda
authored
Fix test syntax to be compatible with Graql 1.0.1 (#43)
## What is the goal of this PR? - fix test syntax to be compatible with Graql 1.0.1 - //:deploy-github is properly supplied with commit-id as an argument
1 parent f33021f commit 1d8e5db

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ jobs:
118118
- checkout
119119
- run: |
120120
export DEPLOY_GITHUB_TOKEN=$REPO_GITHUB_TOKEN_GRABL
121-
bazel run //:deploy-github
121+
bazel run //:deploy-github -- $CIRCLE_SHA1
122122
123123
deploy-pip-release:
124124
machine: true

tests/integration/test_grakn.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ def test_shortest_path_answer_ConceptList(self):
246246
tx = local_session.transaction().write()
247247
parentship_map = test_Transaction._build_parentship(tx) # this closes the tx
248248
tx = local_session.transaction().write()
249-
result = tx.query('compute path from "{0}", to "{1}";'.format(parentship_map['parent'], parentship_map['child']))
249+
result = tx.query('compute path from {0}, to {1};'.format(parentship_map['parent'], parentship_map['child']))
250250
answer = next(result)
251251
self.assertIsInstance(answer, ConceptList)
252252
self.assertEqual(len(answer.list()), 3)

0 commit comments

Comments
 (0)