def test_no_expansion(self): self.properties["stage"] = ["1"] fs = _config._expand_filesets_for("stage", self.properties) self.assertThat(fs, Equals(["1"]))
def test_no_expansion(self): self.properties["stage"] = ["1"] fs = _config._expand_filesets_for("stage", self.properties) self.assertThat(fs, Equals(["1"]))
def test_expand_var(self): self.properties["stage"] = ["$1"] fs = _config._expand_filesets_for("stage", self.properties) self.assertThat(fs, Equals(["1", "2", "3"]))
def test_expand_var(self): self.properties["stage"] = ["$1"] fs = _config._expand_filesets_for("stage", self.properties) self.assertThat(fs, Equals(["1", "2", "3"]))