예제 #1
0
    def test_no_expansion(self):
        self.properties["stage"] = ["1"]

        fs = _config._expand_filesets_for("stage", self.properties)
        self.assertThat(fs, Equals(["1"]))
예제 #2
0
    def test_no_expansion(self):
        self.properties["stage"] = ["1"]

        fs = _config._expand_filesets_for("stage", self.properties)
        self.assertThat(fs, Equals(["1"]))
예제 #3
0
    def test_expand_var(self):
        self.properties["stage"] = ["$1"]

        fs = _config._expand_filesets_for("stage", self.properties)
        self.assertThat(fs, Equals(["1", "2", "3"]))
예제 #4
0
    def test_expand_var(self):
        self.properties["stage"] = ["$1"]

        fs = _config._expand_filesets_for("stage", self.properties)
        self.assertThat(fs, Equals(["1", "2", "3"]))