Skip to content

Commit

Permalink
misc test fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jfischer committed May 3, 2020
1 parent 7b7fdc1 commit bd1a95c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions tests/dws-test-environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,6 @@ dependencies:
- mypy
- pyflakes
- black
- click
- requests
- dws-repo2docker
2 changes: 1 addition & 1 deletion tests/test_tensorflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def test_wrapper_for_dataset(self):
import pandas as pd
import numpy as np
self._setup_initial_repo(git_resources='results', api_resources='titanic-data')
TRAIN_DATA_URL = "https://storage.googleapis.com/tf-daxtasets/titanic/train.csv"
TRAIN_DATA_URL = "https://storage.googleapis.com/tf-datasets/titanic/train.csv"
TEST_DATA_URL = "https://storage.googleapis.com/tf-datasets/titanic/eval.csv"
train_file_path = tf.keras.utils.get_file("train.csv", TRAIN_DATA_URL)
test_file_path = tf.keras.utils.get_file("eval.csv", TEST_DATA_URL)
Expand Down
1 change: 1 addition & 0 deletions tests/utils_for_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
from os.path import join, abspath, expanduser, exists
import os
import unittest
import sys

TEMPDIR=abspath(expanduser(__file__)).replace('.py', '_data')
WS_DIR=join(TEMPDIR,'workspace')
Expand Down

0 comments on commit bd1a95c

Please sign in to comment.