For example, if you have two applications, one of which is called "App1" and the other is called "App2", and the structure of your project is something like this:
myproject/
This is an imaginary script, and you want to write a test script for "APP2", but your test script may need data from "APP1", in other words, you need lights in "APP1"
from APP1.models.app_1_model import * class TestApp2(TestCase): fixtures = ['fixture_app2_number_1','fixture_app2_number_2','fixture_app2_number_3','fixture_app1_number_1'] def test_function_one(self): pass
as you saw, just write the name of the device APP1 in the list of devices, very smart and simple.
tolerious
source share