Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
* Remove resource fixture

* Remove remote resource
  • Loading branch information
Jon Wayne Parrott authored and shollyman committed Jul 22, 2020
1 parent 7fff88d commit c657624
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions samples/snippets/load_data_from_file_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,17 @@
# See the License for the specific language governing permissions and
# limitations under the License.

import os

import load_data_from_file

RESOURCES = os.path.join(os.path.dirname(__file__), 'resources')
DATASET_ID = 'test_dataset'
TABLE_ID = 'test_import_table'


def test_load_table(resource, capsys):
data_path = resource('data.csv')
def test_load_table(capsys):
data_path = os.path.join(RESOURCES, 'data.csv')

load_data_from_file.load_data_from_file(
DATASET_ID,
Expand Down

0 comments on commit c657624

Please sign in to comment.