How to keep test instance IDs apart in Django?

后端 未结 0 964
眼角桃花
眼角桃花 2021-01-28 20:37

There\'s a bug in the following code:

def test_should_filter_foobar_by_foo_id(self) -> None:
    first_foo = Foo(name="a")
    second_foo = Foo(name=         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题