| Total Complexity | 4 |
| Total Lines | 14 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | from msquaredc.project import Project |
||
| 21 | class ProjectTest(unittest.TestCase): |
||
| 22 | @test_cleanup |
||
| 23 | def test_init(self,file): |
||
| 24 | p = Project(data="data sample for jerome.txt", questions="config.yml", coder="MGM", file=file) |
||
| 25 | |||
| 26 | @test_cleanup |
||
| 27 | def test_integration(self,file): |
||
| 28 | p = Project(data="data sample for jerome.txt", questions="config.yml", coder="MGM", file=file) |
||
| 29 | value = 0 |
||
| 30 | for index,i in enumerate(p): |
||
| 31 | for j in i.coding_questions: |
||
| 32 | i[j] = value |
||
| 33 | value += 1 |
||
| 34 | p.export() |
||
| 35 |