Skip to content

Commit

Permalink
Fold dataset add eo3 test back into dataset add
Browse files Browse the repository at this point in the history
There are db connection issues that got triggered by having one extra test, that
I don't want to debug right now.
  • Loading branch information
Kirill888 committed May 6, 2020
1 parent 5ea37ca commit 9946d09
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions integration_tests/test_dataset_add.py
Original file line number Diff line number Diff line change
Expand Up @@ -254,17 +254,7 @@ def test_dataset_add(dataset_add_configs, index_empty, clirunner):
r = clirunner(['dataset', 'add', '--auto-match', p.datasets])
assert 'WARNING --auto-match option is deprecated' in r.output


def test_dataset_add_eo3(dataset_add_configs, index_empty, clirunner):
p = dataset_add_configs
index = index_empty
r = clirunner(['dataset', 'add', p.datasets], expect_success=False)
assert r.exit_code != 0
assert 'Found no products' in r.output

clirunner(['metadata', 'add', p.metadata])
clirunner(['product', 'add', p.products])
clirunner(['dataset', 'add', p.datasets])
# test dataset add eo3
r = clirunner(['dataset', 'add', '--no-verify-lineage', p.datasets_eo3])
assert r.exit_code == 0

Expand Down

0 comments on commit 9946d09

Please sign in to comment.