commit | ec814a746c76533519051f5af58662268dccb631 | [log] [tgz] |
---|---|---|
author | Borjan Tchakaloff <borjan@fairphone.com> | Wed Feb 28 11:16:53 2018 +0400 |
committer | Borjan Tchakaloff <borjan@fairphone.com> | Thu Mar 22 08:42:01 2018 +0400 |
tree | 7dab9a034183a1d9c6f8c7224b4f2aedfcab073b | |
parent | 2ddbd770360d9e3c67bb3a02d781bcd57c56388a [diff] |
Clean-up tests - Introduce the base class `DeviceRegisterAPITestCase` that bundles device creation and users setup; - Factor the dummy data creation for the Device, HeartBeat, and Crashreport models; - Fix some odd assertions (e.g. using verity of an equality expression instead of equality assertion); - Fix mislabeled tests; - Fix scope of private class (static) methods. Change-Id: I6e5655b1f3dda3782f32c5d110e700d8b77fcd89