Skip to content

Commit dd67a94

Browse files
committed
chore: replace the last testname fixture stems
1 parent 250ca7c commit dd67a94

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

‎tests/test_protocol.py‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -245,8 +245,8 @@ def test_suppress_answer():
245245

246246
# Should not be suppressed, name is different
247247
tmp = copy.copy(answer1)
248-
tmp.key = "testname3.local."
249-
tmp.name = "testname3.local."
248+
tmp.key = "candidate3.local."
249+
tmp.name = "candidate3.local."
250250
response.add_answer(query, tmp)
251251
assert len(response.answers) == 2
252252

@@ -284,7 +284,7 @@ def test_many_questions():
284284
generated = r.DNSOutgoing(const._FLAGS_QR_QUERY)
285285
questions = []
286286
for i in range(100):
287-
question = r.DNSQuestion(f"testname{i}.local.", const._TYPE_SRV, const._CLASS_IN)
287+
question = r.DNSQuestion(f"candidate{i}.local.", const._TYPE_SRV, const._CLASS_IN)
288288
generated.add_question(question)
289289
questions.append(question)
290290
assert len(generated.questions) == 100
@@ -446,10 +446,10 @@ def test_questions_do_not_end_up_every_packet():
446446

447447
generated = r.DNSOutgoing(const._FLAGS_QR_QUERY)
448448
for i in range(35):
449-
question = r.DNSQuestion(f"testname{i}.local.", const._TYPE_SRV, const._CLASS_IN)
449+
question = r.DNSQuestion(f"candidate{i}.local.", const._TYPE_SRV, const._CLASS_IN)
450450
generated.add_question(question)
451451
answer = r.DNSService(
452-
f"testname{i}.local.",
452+
f"candidate{i}.local.",
453453
const._TYPE_SRV,
454454
const._CLASS_IN | const._CLASS_UNIQUE,
455455
const._DNS_HOST_TTL,

0 commit comments

Comments
 (0)