root/branches/mk/tests/functional/test_one_file.py

Revision 77, 341 bytes (checked in by mk, 6 years ago)

Added appropriate handling of one-file packages.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1 import os
2
3 from _helper_cheesecake import FunctionalTest, read_file_contents, DATA_PATH
4
5
6 class TestOneFile(FunctionalTest):
7     def test_one_file(self):
8         "Make sure that archives with one file are handled properly."
9         self._run_cheesecake('-p %s' % (os.path.join(DATA_PATH, 'module1.tar.gz')))
10
11         self._assert_success()
12
Note: See TracBrowser for help on using the browser.