Skip to content

Commit

Permalink
filters - system tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomas Strachota committed Jan 27, 2012
1 parent 5d44972 commit 086e838
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/system-test/cli_tests/product.sh
Expand Up @@ -7,4 +7,4 @@ test_success "product list by org only" product list --org="$TEST_ORG"
test_success "product list by org and provider" product list --org="$TEST_ORG" --provider="$YUM_PROVIDER"
test_success "product filter_list" product list_filters --org="$TEST_ORG" --name="$FEWUPS_PRODUCT"
test_success "product add_filter" product add_filter --org="$TEST_ORG" --name="$FEWUPS_PRODUCT" --filter="$FILTER1"
test_success "product delete_filter" product delete_filter --org="$TEST_ORG" --name="$FEWUPS_PRODUCT" --filter="$FILTER1"
test_success "product remove_filter" product remove_filter --org="$TEST_ORG" --name="$FEWUPS_PRODUCT" --filter="$FILTER1"
4 changes: 4 additions & 0 deletions scripts/system-test/cli_tests/repo.sh
Expand Up @@ -18,3 +18,7 @@ if [ $REPO_STATUS_CODE != '401' ]; then
echo "We expected the pulp repo to be sucured (status code 401), got $REPO_STATUS_CODE"
let failed_cnt+=1
fi

test_success "repo filter_list" repo list_filters --org="$TEST_ORG" --id="$REPO_ID"
test_success "repo add_filter" repo add_filter --org="$TEST_ORG" --id="$REPO_ID" --filter="$FILTER1"
test_success "repo remove_filter" repo remove_filter --org="$TEST_ORG" --id="$REPO_ID" --filter="$FILTER1"

0 comments on commit 086e838

Please sign in to comment.