Statistics
| Branch: | Tag: | Revision:

root / test / ganeti.jstore_unittest.py @ 570274e4

History | View | Annotate | Download (3.2 kB)

# Date Author Comment
4fdedd09 10/08/2012 02:39 pm Michael Hanselmann

jstore: Nicer error message on non-numeric file content

An error like “invalid literal for int() with base 10” can be quite
confusing.

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

76b62028 08/07/2012 12:48 pm Iustin Pop

Switch job IDs to numeric

This has been a long-standing cleanup item, which we've always
refrained from doing due to the high estimated effort needed.

In reality, it turned out that after some infrastructure improvements
(the previous patches), the actual job queue-related changes are quite...

6f1aa78d 06/15/2012 02:53 pm Michael Hanselmann

jstore: Add unittests

Add unittests for FormatJobID, GetArchiveDirectory, ParseJobId.

Signed-off-by: Michael Hanselmann <>
Reviewed-by: René Nussbaumer <>