Python built-in assert

What is the main difference between assertEqual() and assertLogs()? I am using assertLogs() in a unittest and it works fine as I am using strings, but when I use assertEqual(), it fails the unittest. Unsure why. Thanks!



from Recent Questions - Stack Overflow https://ift.tt/3c5NfzN
https://ift.tt/eA8V8J

Comments

Popular posts from this blog

Today Walkin 14th-Sept

Spring Elasticsearch Operations

Hibernate Search - Elasticsearch with JSON manipulation