Skip to content

fix: correct dataset name, use env var for project #2621

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 33 commits into from
Feb 10, 2020
Merged
Changes from 1 commit
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
f377d8a
fix: correct dataset name, use env var for project
leahecole Dec 16, 2019
bf3dc08
Merge branch 'master' into fix_dlp_tests
leahecole Dec 17, 2019
131dfc1
Merge branch 'master' into fix_dlp_tests
kurtisvg Dec 18, 2019
c1735af
Merge branch 'master' of github.com:GoogleCloudPlatform/python-docs-s…
leahecole Jan 2, 2020
86fb1b9
Merge branch 'master' of github.com:GoogleCloudPlatform/python-docs-s…
leahecole Jan 3, 2020
352785e
Add uuids to tests
leahecole Jan 3, 2020
503e628
add uuids and fixtures for bq
leahecole Jan 4, 2020
09465fc
Merge branch 'master' into fix_dlp_tests
leahecole Jan 4, 2020
d3a108a
Merge branch 'master' into fix_dlp_tests
leahecole Jan 6, 2020
e842941
Add logic to delete job
leahecole Jan 6, 2020
d40c636
Merge branch 'master' into fix_dlp_tests
leahecole Jan 6, 2020
e8e3019
ran black
leahecole Jan 6, 2020
b216953
Merge branch 'fix_dlp_tests' of github.com:GoogleCloudPlatform/python…
leahecole Jan 6, 2020
bc72e88
Run black with line length
leahecole Jan 6, 2020
ac8b39e
Add utf encoding for python 2 tests
leahecole Jan 7, 2020
0df064c
Merge branch 'master' into fix_dlp_tests
leahecole Jan 7, 2020
5559087
Merge branch 'master' of github.com:GoogleCloudPlatform/python-docs-s…
leahecole Jan 10, 2020
861ebc7
Merge branch 'master' into fix_dlp_tests
leahecole Jan 14, 2020
0337c44
Merge branch 'master' of github.com:GoogleCloudPlatform/python-docs-s…
leahecole Jan 16, 2020
396b534
Merge branch 'master' into fix_dlp_tests
leahecole Jan 22, 2020
c6e813e
Merge branch 'fix_dlp_tests' of github.com:GoogleCloudPlatform/python…
leahecole Feb 3, 2020
ef0a54c
Add skips for now
leahecole Feb 4, 2020
e38e348
Merge branch 'master' into fix_dlp_tests
leahecole Feb 4, 2020
cd374af
Ran black
leahecole Feb 4, 2020
61b3522
Remove skips, adjust job tests
leahecole Feb 5, 2020
93cc1a8
fix lint and skips
leahecole Feb 5, 2020
d5c26c3
Merge branch 'master' into fix_dlp_tests
leahecole Feb 5, 2020
c7db451
Merge branch 'master' into fix_dlp_tests
leahecole Feb 5, 2020
9264d58
Merge branch 'master' into fix_dlp_tests
leahecole Feb 6, 2020
7aa8607
Cleanup commented things
leahecole Feb 6, 2020
7797ce0
Merge branch 'master' into fix_dlp_tests
leahecole Feb 6, 2020
b7770ba
Merge branch 'master' into fix_dlp_tests
leahecole Feb 7, 2020
8418d57
Merge branch 'master' into fix_dlp_tests
leahecole Feb 10, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions dlp/risk_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,19 @@
# See the License for the specific language governing permissions and
# limitations under the License.

from gcp_devrel.testing.flaky import flaky
from flaky import flaky
import google.cloud.pubsub

import pytest
import os

import risk

GCLOUD_PROJECT = "python-docs-samples"
TABLE_PROJECT = "python-docs-samples"
GCLOUD_PROJECT = os.environ.get('GCLOUD_PROJECT')
TABLE_PROJECT = os.environ.get('GCLOUD_PROJECT')
TOPIC_ID = "dlp-test"
SUBSCRIPTION_ID = "dlp-test-subscription"
DATASET_ID = "integration_tests_dlp"
DATASET_ID = "dlp_test_dataset"
UNIQUE_FIELD = "Name"
REPEATED_FIELD = "Mystery"
NUMERIC_FIELD = "Age"
Expand Down