Skip to content

Commit

Permalink
pep
Browse files Browse the repository at this point in the history
  • Loading branch information
riquellopes committed Oct 10, 2018
1 parent a13a5f9 commit a15868a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_field_methods.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ def test_should_get_RandomCpf_instance(anon):
assert isinstance(cpf, RandomCpf)
assert cpf.render() == "`id` = LPAD(id, 11, 5)"


def test_should_get_RandomCnpj_instance(anon):
cnpj = anon.get_field("random_cnpj", "cnpj")
assert isinstance(cnpj, RandomCnpj)
assert cnpj.render() == "`cnpj` = LPAD(id, 14, 5)"
assert cnpj.render() == "`cnpj` = LPAD(id, 14, 5)"

0 comments on commit a15868a

Please sign in to comment.