Query regarding test case

48 views
Skip to first unread message

Pallavi Gupta

unread,
Dec 17, 2022, 12:16:52 AM12/17/22
to NeST users
Hi team,

I have designed a test case for testing the APIs for DNS but I am unable to run this particular test case. Can you please suggest me the way to test one test case file?



Thanks,
Pallavi
testcase.png

Shanthanu Rai

unread,
Dec 17, 2022, 12:20:34 AM12/17/22
to NeST users
Hey Pallavi, can you please specify the full test path in the command? 

Thanks,
Shanthanu

Pallavi Gupta

unread,
Jan 19, 2023, 10:23:51 AM1/19/23
to NeST users
Hey Shanthanu,

I am facing problem in running the test case for the enabling the DNS APIs . I raised the merge request for it. 

On running the test case, I'm still getting the output as "Ran 0 tests" as shown in attached screenshot. Can you please see the test case file "test_dns.py" in merge request 295 and suggest me where I am going wrong.


Thanks,
Pallavi

Shanthanu Rai

unread,
Jan 20, 2023, 12:03:00 PM1/20/23
to Pallavi Gupta, NeST users
Hey Pallavi, I tried running your test locally, and I am seeing the below error:

image.png

The error seems to be related to new code added in the MR. Can you please check it?

Thanks,
Shanthanu

--
You received this message because you are subscribed to the Google Groups "NeST users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nest-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/nest-users/7bb59668-c1a7-4089-8235-d0925f535a3dn%40googlegroups.com.


--
Regards,
Shanthanu S Rai

Pallavi Gupta

unread,
Apr 4, 2023, 11:22:00 PM4/4/23
to NeST users
Hey Shanthanu,

I have resolved the error that you were encountering while running the testcase. However, I am still facing the same issue with the test case not running correctly. Can you please see the testcase file "test_dns.py" in merge request 295.

Thanks,
Pallavi

Reply all
Reply to author
Forward
0 new messages