阅读背景:

测试django模型属性值 - 例如十进制

来源:互联网 

I'm trying to compare the attribute values of a Django model to values in a dict. However the test fails when i test in the debugger, due to the model attribute type being Decimal. What's the best way to test so that the below passesI'm trying to compare the attribute values of a




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: