Back to index

enigmail  1.4.3
Public Member Functions | Public Attributes
unit-printprereleasesuffix.TestGetPreReleaseSuffix Class Reference

List of all members.

Public Member Functions

def test_alpha_1
def test_alpha_10
def test_beta_3
def test_beta_30
def test_release_1
def test_alpha_1_pre
def test_beta_10_pre
def test_pre_0
def test_pre_1_b
def test_a_a
def test_b_b
def test_a_b
def test_plus

Public Attributes

 c

Detailed Description

Unit tests for the get_prerelease_suffix function

Definition at line 9 of file unit-printprereleasesuffix.py.


Member Function Documentation

def unit-printprereleasesuffix.TestGetPreReleaseSuffix.test_a_a (   self)
test 1.2aa version string

Definition at line 59 of file unit-printprereleasesuffix.py.

00059 
00060   def test_a_a(self):
00061     """test 1.2aa version string"""
00062     self.c = get_prerelease_suffix('1.2aa')
00063     self.assertEqual(self.c, '')

Here is the call graph for this function:

def unit-printprereleasesuffix.TestGetPreReleaseSuffix.test_a_b (   self)
test 1.2ab version string

Definition at line 69 of file unit-printprereleasesuffix.py.

00069 
00070   def test_a_b(self):
00071     """test 1.2ab version string"""
00072     self.c = get_prerelease_suffix('1.2ab')
00073     self.assertEqual(self.c, '')

Here is the call graph for this function:

def unit-printprereleasesuffix.TestGetPreReleaseSuffix.test_alpha_1 (   self)
test 1a1 version string

Definition at line 14 of file unit-printprereleasesuffix.py.

00014 
00015   def test_alpha_1(self):
00016     """test 1a1 version string"""
00017     self.c = get_prerelease_suffix('1a1')
00018     self.assertEqual(self.c, ' 1 Alpha 1')

def unit-printprereleasesuffix.TestGetPreReleaseSuffix.test_alpha_10 (   self)
test 1.2a10 version string

Definition at line 19 of file unit-printprereleasesuffix.py.

00019 
00020   def test_alpha_10(self):
00021     """test 1.2a10 version string"""
00022     self.c = get_prerelease_suffix('1.2a10')
00023     self.assertEqual(self.c, ' 1.2 Alpha 10')

Here is the call graph for this function:

def unit-printprereleasesuffix.TestGetPreReleaseSuffix.test_alpha_1_pre (   self)
test 1.2a1pre version string

Definition at line 39 of file unit-printprereleasesuffix.py.

00039 
00040   def test_alpha_1_pre(self):
00041     """test 1.2a1pre version string"""
00042     self.c = get_prerelease_suffix('1.2a1pre')
00043     self.assertEqual(self.c, '')

Here is the call graph for this function:

def unit-printprereleasesuffix.TestGetPreReleaseSuffix.test_b_b (   self)
test 1.2bb version string

Definition at line 64 of file unit-printprereleasesuffix.py.

00064 
00065   def test_b_b(self):
00066     """test 1.2bb version string"""
00067     self.c = get_prerelease_suffix('1.2bb')
00068     self.assertEqual(self.c, '')

Here is the call graph for this function:

def unit-printprereleasesuffix.TestGetPreReleaseSuffix.test_beta_10_pre (   self)
test 3.4b10pre version string

Definition at line 44 of file unit-printprereleasesuffix.py.

00044 
00045   def test_beta_10_pre(self):
00046     """test 3.4b10pre version string"""
00047     self.c = get_prerelease_suffix('3.4b10pre')
00048     self.assertEqual(self.c, '')

Here is the call graph for this function:

def unit-printprereleasesuffix.TestGetPreReleaseSuffix.test_beta_3 (   self)
test 1.2.3b3 version string

Definition at line 24 of file unit-printprereleasesuffix.py.

00024 
00025   def test_beta_3(self):
00026     """test 1.2.3b3 version string"""
00027     self.c = get_prerelease_suffix('1.2.3b3')
00028     self.assertEqual(self.c, ' 1.2.3 Beta 3')

Here is the call graph for this function:

def unit-printprereleasesuffix.TestGetPreReleaseSuffix.test_beta_30 (   self)
test 1.2.3.4b30 version string

Definition at line 29 of file unit-printprereleasesuffix.py.

00029 
00030   def test_beta_30(self):
00031     """test 1.2.3.4b30 version string"""
00032     self.c = get_prerelease_suffix('1.2.3.4b30')
00033     self.assertEqual(self.c, ' 1.2.3.4 Beta 30')

Here is the call graph for this function:

def unit-printprereleasesuffix.TestGetPreReleaseSuffix.test_plus (   self)
test 1.2+ version string 

Definition at line 74 of file unit-printprereleasesuffix.py.

00074 
00075   def test_plus(self):
00076     """test 1.2+ version string """
00077     self.c = get_prerelease_suffix('1.2+')
00078     self.assertEqual(self.c, '')

Here is the call graph for this function:

def unit-printprereleasesuffix.TestGetPreReleaseSuffix.test_pre_0 (   self)
test 1.2pre0 version string

Definition at line 49 of file unit-printprereleasesuffix.py.

00049 
00050   def test_pre_0(self):
00051     """test 1.2pre0 version string"""
00052     self.c = get_prerelease_suffix('1.2pre0')
00053     self.assertEqual(self.c, '')

Here is the call graph for this function:

def unit-printprereleasesuffix.TestGetPreReleaseSuffix.test_pre_1_b (   self)
test 1.2pre1b version string

Definition at line 54 of file unit-printprereleasesuffix.py.

00054 
00055   def test_pre_1_b(self):
00056     """test 1.2pre1b version string"""
00057     self.c = get_prerelease_suffix('1.2pre1b')
00058     self.assertEqual(self.c, '')

Here is the call graph for this function:

def unit-printprereleasesuffix.TestGetPreReleaseSuffix.test_release_1 (   self)
test 1.2.3.4 version string

Definition at line 34 of file unit-printprereleasesuffix.py.

00034 
00035   def test_release_1(self):
00036     """test 1.2.3.4 version string"""
00037     self.c = get_prerelease_suffix('1.2.3.4')
00038     self.assertEqual(self.c, '')

Here is the call graph for this function:


Member Data Documentation

unit-printprereleasesuffix.TestGetPreReleaseSuffix.c

Definition at line 16 of file unit-printprereleasesuffix.py.


The documentation for this class was generated from the following file: