Permalink
Browse files

win_status_test: added pid explicitly

  • Loading branch information...
1 parent d6d9e9c commit 7ff2ab7d5890419b873f530e06fd851953726652 @vlaci vlaci committed Dec 31, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 tests/unit/modules/win_status_test.py
View
4 tests/unit/modules/win_status_test.py
@@ -101,13 +101,15 @@ class TestProcsUnicodeAttributes(TestProcsBase):
def setUp(self):
unicode_str = u'\xc1'
self.utf8str = unicode_str.encode('utf8')
+ pid = 100
self.add_process(
+ pid=pid,
user=unicode_str,
user_domain=unicode_str,
cmd=unicode_str,
name=unicode_str)
self.call_procs()
- self.proc = self.result[100]
+ self.proc = self.result[pid]
def test_process_cmd_is_utf8(self):
self.assertEqual(self.proc['cmd'], self.utf8str)

0 comments on commit 7ff2ab7

Please sign in to comment.