Funktionierender Prototyp des Serious Games zur Vermittlung von Wissen zu Software-Engineering-Arbeitsmodellen.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

test_win32profile.py 389B

1 year ago
123456789101112131415161718
  1. """Test win32profile"""
  2. import os
  3. import unittest
  4. import win32profile
  5. class Tester(unittest.TestCase):
  6. def test_environment(self):
  7. os.environ["FOO"] = "bar=baz"
  8. env = win32profile.GetEnvironmentStrings()
  9. assert "FOO" in env
  10. assert env["FOO"] == "bar=baz"
  11. assert os.environ["FOO"] == "bar=baz"
  12. if __name__ == "__main__":
  13. unittest.main()