Beispiel #1
0
 def test_status(self):
     dflat.init('dflat-test')
     dflat.checkout('dflat-test')
     with open('dflat-test/v002/full/producer/d', 'w') as f:
         f.write('foo')
     status = dflat.status('dflat-test')
     self.assertTrue('producer/d' in status['added'])
Beispiel #2
0
 def test_status(self):
     dflat.init('dflat-test')
     dflat.checkout('dflat-test')
     with open('dflat-test/v002/full/producer/d', 'w') as f:
         f.write('foo')
     status = dflat.status('dflat-test')
     self.assertTrue('producer/d' in status['added'])
Beispiel #3
0
 def test_status(self):
     dflat.init('dflat-test')
     dflat.checkout('dflat-test')
     open('dflat-test/v002/full/data/d', 'w').write('foo')
     status = dflat.status('dflat-test')
     self.assertTrue('data/d' in status['added'])