| Total Complexity | 4 |
| Total Lines | 14 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | from msquaredc.project import Project |
||
| 30 | class ProjectTest(unittest.TestCase): |
||
| 31 | @test_cleanup |
||
| 32 | def test_init(self,file): |
||
| 33 | p = Project(data="data.txt", questions="config.yml", coder="MGM", file=file) |
||
| 34 | |||
| 35 | @test_cleanup |
||
| 36 | def test_integration(self,file): |
||
| 37 | p = Project(data="data.txt", questions="config.yml", coder="MGM", file=file) |
||
| 38 | value = 0 |
||
| 39 | for index,i in enumerate(p): |
||
| 40 | for j in i.coding_questions: |
||
| 41 | i[j] = value |
||
| 42 | value += 1 |
||
| 43 | p.export() |
||
| 44 |