Skip to content

Commit c657624

Browse files
Jon Wayne Parrottshollyman
Jon Wayne Parrott
authored andcommitted
* Remove resource fixture * Remove remote resource
1 parent 7fff88d commit c657624

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

samples/snippets/load_data_from_file_test.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,17 @@
1111
# See the License for the specific language governing permissions and
1212
# limitations under the License.
1313

14+
import os
15+
1416
import load_data_from_file
1517

18+
RESOURCES = os.path.join(os.path.dirname(__file__), 'resources')
1619
DATASET_ID = 'test_dataset'
1720
TABLE_ID = 'test_import_table'
1821

1922

20-
def test_load_table(resource, capsys):
21-
data_path = resource('data.csv')
23+
def test_load_table(capsys):
24+
data_path = os.path.join(RESOURCES, 'data.csv')
2225

2326
load_data_from_file.load_data_from_file(
2427
DATASET_ID,

0 commit comments

Comments
 (0)