Changeset 3261

Show
Ignore:
Timestamp:
05/29/07 11:33:53 (1 year ago)
Author:
mscott
Message:

ASCII art

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/Schevo/tests/test_on_delete.py

    r3260 r3261  
    9191 
    9292 
     93    # ---------------------------------------------------------------- 
     94 
     95 
    9396    class Bam(E.Entity): 
     97        """Bam and Bat circularly reference eachother. 
     98 
     99        The relationships created upon a creation of a Bam entity 
     100        can be visualized as follows:: 
     101 
     102                        .---------------. 
     103                        | Bam[1]        |<----. 
     104                        |               |     | 
     105                  .-------.bat = Bat[1] |     | RESTRICT 
     106                  |     `---------------`     | 
     107                  |                           | 
     108                  |     .---------------.     | 
     109                  `---->| Bat[1]        |     | 
     110                        |               |     | 
     111                        | .bam = Bam[1]-------` 
     112                        `---------------` 
     113        """ 
    94114 
    95115        bat = f.entity('Bat') 
     
    111131 
    112132        bam = f.entity('Bam') 
     133 
     134 
     135    # ---------------------------------------------------------------- 
    113136 
    114137 
     
    168191        boo = f.entity(('Boo', CASCADE)) 
    169192        bar = f.entity('Bar') 
     193 
     194 
     195    # ---------------------------------------------------------------- 
    170196 
    171197 
     
    232258        faz = f.entity(('Faz', CASCADE)) 
    233259        far = f.entity('Far') 
     260 
     261 
     262    # ---------------------------------------------------------------- 
    234263 
    235264