We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7fff88d commit c657624Copy full SHA for c657624
samples/snippets/load_data_from_file_test.py
@@ -11,14 +11,17 @@
11
# See the License for the specific language governing permissions and
12
# limitations under the License.
13
14
+import os
15
+
16
import load_data_from_file
17
18
+RESOURCES = os.path.join(os.path.dirname(__file__), 'resources')
19
DATASET_ID = 'test_dataset'
20
TABLE_ID = 'test_import_table'
21
22
-def test_load_table(resource, capsys):
- data_path = resource('data.csv')
23
+def test_load_table(capsys):
24
+ data_path = os.path.join(RESOURCES, 'data.csv')
25
26
load_data_from_file.load_data_from_file(
27
DATASET_ID,
0 commit comments