Skip to content
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

Tests that fail with 1 error report "True" instead of "1" for the number of errors #1040

Closed
drewbanin opened this issue Sep 30, 2018 · 0 comments
Labels
bug Something isn't working
Milestone

Comments

@drewbanin
Copy link
Contributor

Issue

Issue description

Tests that fail with 1 error report "True" instead of "1" for the number of errors. This happens, I think, because we fetch an Agate dataframe, which assumes that the number of failures is a boolean instead of an integer.

Results

Expected: [FAIL 1]
Received: [Fail True]

System information

= 0.11.1

The python version you're using (probably the output of python --version)
3.7

Steps to reproduce

-- models/test_model.sql

select null as id

# schema.yml

version: 2

models:
  - name: test_model:
  - columns:
    name: id
    tests:
      - not_null
@drewbanin drewbanin added the bug Something isn't working label Sep 30, 2018
@drewbanin drewbanin added this to the Guion Bluford milestone Oct 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant