Skip to content

Commit

Permalink
fix unit test bug that only appears on final release versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacob Beck committed Mar 26, 2020
1 parent a761774 commit 6065237
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/test_bigquery_adapter.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ def test_location_user_agent(self, mock_bq, mock_auth_default):


class HasUserAgent:
PAT = re.compile(r'dbt-\d+\.\d+\.\d+[a-zA-Z]+\d+')
PAT = re.compile(r'dbt-\d+\.\d+\.\d+((a|b|rc)\d+)?')

def __eq__(self, other):
compare = getattr(other, 'user_agent', '')
Expand Down

0 comments on commit 6065237

Please sign in to comment.