Skip to content

Commit

Permalink
fix ci for pandassql
Browse files Browse the repository at this point in the history
  • Loading branch information
astroshim committed Mar 15, 2017
1 parent be5db4d commit e8570d2
Showing 1 changed file with 0 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -117,17 +117,8 @@ public void dependenciesAreInstalled() {
@Test
public void errorMessageIfDependenciesNotInstalled() {
InterpreterResult ret;
// given
ret = python.interpret(
"pysqldf = lambda q: print('Can not execute SQL as Python dependency is not installed')",
context);

assertEquals(ret.message().toString(), InterpreterResult.Code.ERROR, ret.code());

// when
ret = sql.interpret("SELECT * from something", context);

// then
assertNotNull(ret);
assertEquals(ret.message().get(0).getData(), InterpreterResult.Code.ERROR, ret.code());
assertTrue(ret.message().get(0).getData().contains("no such table: something"));
Expand Down

0 comments on commit e8570d2

Please sign in to comment.