Merge lp:~diegosarmentero/ubuntuone-dev-tools/temp-bytes into lp:ubuntuone-dev-tools
| Status: | Merged | ||||
|---|---|---|---|---|---|
| Approved by: | Diego Sarmentero on 2012-09-28 | ||||
| Approved revision: | 103 | ||||
| Merged at revision: | 97 | ||||
| Proposed branch: | lp:~diegosarmentero/ubuntuone-dev-tools/temp-bytes | ||||
| Merge into: | lp:ubuntuone-dev-tools | ||||
| Diff against target: |
63 lines (+41/-1) 3 files modified
ubuntuone/devtools/runners/__init__.py (+1/-1) ubuntuone/devtools/runners/tests/__init__.py (+1/-0) ubuntuone/devtools/runners/tests/test_base.py (+39/-0) |
||||
| To merge this branch: | bzr merge lp:~diegosarmentero/ubuntuone-dev-tools/temp-bytes | ||||
| Related bugs: |
|
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| dobey (community) | 2012-09-28 | Approve on 2012-09-28 | |
|
Review via email:
|
|||
Commit Message
- Making temp-directory to be bytes to avoid encoding problems in tests.
- 98. By Diego Sarmentero on 2012-09-28
-
Adding regression test
- 99. By Diego Sarmentero on 2012-09-28
-
fixing docstring
- 100. By Diego Sarmentero on 2012-09-28
-
fixing import order
| dobey (dobey) wrote : | # |
62 + def test_check_
63 + """Check that the temp-directory value is bytes."""
64 + base_options = runners.
65 + self.assertIsIn
Instead of poking at this directly, I think it's probably better to perhaps check that self.tempdir.
- 101. By Diego Sarmentero on 2012-09-28
-
improve tests
- 102. By Diego Sarmentero on 2012-09-28
-
updating test
- 103. By Diego Sarmentero on 2012-09-28
-
removing unncessary lint ignore

Can you please file a bug for this (temp directory being unicode when it should be bytes), and add a regression test so that we can ensure it doesn't pop up again? Thanks.