Skip to content

Commit

Permalink
update tests for makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
RabiaSajjad committed Nov 5, 2024
1 parent 2024af1 commit fa8f63b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ckanext/canada/tests/test_make.py
Original file line number Diff line number Diff line change
Expand Up @@ -399,10 +399,10 @@ def test_make_hospitalityq(self):

stdout = stdout.decode("utf-8")

# Drupal/Solr, test for record indexing
# Django, just test for command output from echo
assert "Usage:" not in stdout
assert "rebuild-hospitalityq] Error" not in stdout
assert '%s 1' % self.org['name'] in stdout
assert 'import_data_csv' in stdout


def test_make_travelq(self):
Expand Down Expand Up @@ -474,10 +474,10 @@ def test_make_reclassification(self):

stdout = stdout.decode("utf-8")

# Drupal/Solr, test for record indexing
# Django, just test for command output from echo
assert "Usage:" not in stdout
assert "rebuild-reclassification] Error" not in stdout
assert '%s 1' % self.org['name'] in stdout
assert 'import_data_csv' in stdout


def test_make_service(self):
Expand Down

0 comments on commit fa8f63b

Please sign in to comment.