Add certificate1 to test DB
This commit is contained in:
parent
f81adb1371
commit
5e389f3f48
|
@ -53,7 +53,8 @@ def test_get_or_increase_name(session, certificate):
|
||||||
== "test-cert-11111111-1-" + serial
|
== "test-cert-11111111-1-" + serial
|
||||||
)
|
)
|
||||||
|
|
||||||
cert2 = CertificateFactory(name="certificate1-" + serial)
|
CertificateFactory(name="certificate1")
|
||||||
|
CertificateFactory(name="certificate1-" + serial)
|
||||||
session.commit()
|
session.commit()
|
||||||
|
|
||||||
assert get_or_increase_name(
|
assert get_or_increase_name(
|
||||||
|
|
Loading…
Reference in New Issue