Advertisement
Guest User

Untitled

a guest
Feb 10th, 2016
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. class TestSuite(models.Model):
  2. test_suit = models.CharField(max_length=30)
  3.  
  4. class TestCase(models.Model):
  5. test_case= models.CharField(max_length=30)
  6. test_suit= models.ForeignKey(TestSuite)
  7.  
  8. [] TestSuit1: <- Item of TestSuit
  9. [ ] Test_case1 <- Item of TestCase
  10. [ ] Test_case2 <- Item of TestCase
  11. [ ] ...
  12.  
  13. [] TestSuit2: <- Another item of TestSuit
  14. [ ] Test_case3
  15. [ ] Test_case4
  16. [ ] ...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement